/* Hamsa Connect · editorial design system
   Matches the public Pesach 2027 planner's blue, warm paper and terracotta.
   Presentation only: account, consent, meetup and demo behavior are unchanged. */
:root{
  --navy:#173d67;--ink:#173d67;--blue:#397db8;--gold:#b85e43;
  --cream:#f8f7f3;--faint:#f1f4f7;--muted:#546d88;--line:#dfe4e9;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'Inter',system-ui,-apple-system,sans-serif;
  --offer-terracotta:#b85e43;--offer-blue:#173d67;
}
body{background:var(--cream);color:var(--ink);font:400 15px/1.6 var(--sans)}
.wrap{width:min(calc(100% - 32px),1190px)}
h1,h2,h3{font-family:var(--serif);font-weight:600;letter-spacing:-.038em}
.eyebrow,.drawer-kicker{color:#b85e43;font-size:10px;letter-spacing:.14em;font-weight:800}
.section{padding:66px 0}
.section-head h2{font-size:clamp(2.1rem,5vw,3.8rem);line-height:1.12;max-width:730px;margin:11px 0 14px}
.section-head p{font:400 14px/1.75 var(--sans);max-width:690px;color:var(--muted)}
.btn{min-height:48px;border-radius:4px;font:750 13px/1.3 var(--sans);padding:12px 19px;box-shadow:none;transition:background-color .17s,border-color .17s,transform .17s}
.btn.primary,.btn.gold{background:#b85e43;border:1px solid #b85e43;color:#fff;border-radius:4px}
.btn.primary:hover,.btn.gold:hover{background:#a24f37;border-color:#a24f37}
.btn.outline{background:transparent;border:1px solid #9bb0c4;color:#173d67;border-radius:4px}
.btn.outline:hover{background:#fff;border-color:#173d67}
.btn.slim{min-height:42px}
:focus-visible{outline:3px solid #397db8;outline-offset:3px}

/* Brand navigation */
.header{border-bottom:1px solid #dfe5eb;background:rgba(248,247,243,.96)}
.header-inner{min-height:71px}
.brand-logo{width:44px;height:44px}
.brand-txt{font:600 19px/1.12 var(--serif);letter-spacing:-.03em;color:#173d67}
.brand-sub{font:750 9px/1.4 var(--sans);letter-spacing:.12em;color:#667b8d}
.topnav{gap:20px}
.topnav a{font:700 12px/1.4 var(--sans);color:#43617c;transition:color .2s}
.topnav a:hover{color:#b85e43}
.nav-cta{background:#b85e43!important;color:#fff!important;font-size:12px}
.langpick,.menu-btn{border-radius:4px;background:#fff;border-color:#cbd7e3}
.mobile-menu{background:#f8f7f3}
.mobile-menu a{min-height:48px}

/* Editorial hero: lead with the product and honest event photography */
.hero{background:#f8f7f3}
.hero:before{display:none}
.hero-inner{gap:26px;padding:46px 0 51px}
.hero-copy{min-width:0}
.hero .eyebrow{font-size:11px;color:#3175ab;letter-spacing:.12em}
.hero .eyebrow:before{background:#b85e43;border-radius:0;width:17px;height:2px}
.hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(3.35rem,9.8vw,6.7rem);line-height:1.04;letter-spacing:-.06em;color:#173d67;margin:18px 0 22px;max-width:810px;text-wrap:balance}
.hero h1 em{color:#b85e43}
.hero-desc{max-width:575px;font:400 clamp(15px,1.7vw,17px)/1.8 var(--sans);color:#4e6780}
.hero-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;max-width:570px;margin-top:27px}
.hero-actions .btn{min-height:52px;border-radius:3px;min-width:0;text-align:center;font-size:12px;padding:12px 14px}
.hero-actions .btn:first-child{grid-column:1/-1}
.hero-actions .btn:first-child span:last-child{margin-left:auto;font-size:17px;line-height:1}
.hero-actions .btn:first-child span:first-child{margin-left:auto}
.hero-micro{margin-top:21px;gap:7px 14px}
.hero-micro .micro{padding:0 11px 0 0;border:0;border-right:1px solid #b9cbd9;border-radius:0;background:transparent;color:#466680;font-size:11px;line-height:1.5;font-weight:650}
.hero-micro .micro:last-child{border-right:0}
.hero-availability{font-size:11px;line-height:1.65;color:#687b8d;margin-top:16px}
.experience-gallery{grid-template-columns:1.1fr .9fr;grid-template-rows:160px 160px;gap:10px;align-content:start;margin:0}
.experience-frame{border-radius:5px;background:#dce5ee}
.experience-frame img{object-fit:cover}
.experience-frame--main img{object-position:center 38%}
.experience-frame:after{inset:38% 0 0;background:linear-gradient(transparent,rgba(9,30,52,.78))}
.experience-frame figcaption{font:600 14px/1.2 var(--serif);left:14px;right:13px;bottom:13px}
.experience-frame--main figcaption{font-size:clamp(20px,2.2vw,28px);max-width:220px;bottom:19px}
.experience-gallery-note{color:#6c7e8f;font:400 10px/1.5 var(--sans);margin:0;padding-top:3px}

/* Compact positioning band */
.ribbon{background:#173d67}
.ribbon-inner{padding:22px 0;gap:13px}
.ribbon-message{font:600 clamp(18px,2.25vw,24px)/1.35 var(--serif);letter-spacing:-.025em}
.ribbon-links{gap:8px}
.ribbon-links span{font:700 10px/1.3 var(--sans);border:1px solid #58738d;border-radius:3px;background:rgba(255,255,255,.04);padding:9px 12px;color:#eaf0f5}

/* Actionable concepts, instead of generic illustration cards */
.possibilities{background:#fff;padding:62px 0 72px}
.possibilities .section-head{max-width:730px}
.possibilities .section-head h2{font-family:var(--serif)}
.possibilities-grid{gap:14px}
.possibility-card,
.possibility-card:nth-child(2),
.possibility-card:nth-child(3){border:1px solid #e1e6eb;background:#fff;border-radius:5px;min-height:0;padding:0;gap:0;overflow:hidden;box-shadow:0 7px 24px rgba(17,49,79,.05);transition:box-shadow .18s,border-color .18s}
.possibility-card:hover{border-color:#b9cbdc;box-shadow:0 15px 35px rgba(17,49,79,.11)}
.possibility-image{height:166px;display:block;overflow:hidden;background:#dce5ec}
.possibility-image img{width:100%;height:100%;object-fit:cover;display:block}
.possibility-card-top{padding:20px 20px 0}
.possibility-number{font:600 23px/1 var(--serif);color:#b85e43}
.possibility-category{color:#5c7690}
.possibility-card h3{font:600 26px/1.18 var(--serif);color:#173d67;letter-spacing:-.03em;padding:12px 20px 0}
.possibility-card p{font:400 13px/1.68 var(--sans);color:#58738b;padding:10px 20px 0}
.possibility-card a{margin:16px 20px 22px;padding:10px 0;border-bottom:2px solid #b85e43;align-self:flex-start;color:#173d67;font:750 12px/1.4 var(--sans)}
.possibility-card a:hover{color:#a24f37}
.possibilities-note{font-size:11px}

/* Same cards, filters, typography and CTAs as the Pesach editor */
#going-together{background:#edf0f3;color:#173d67;font-family:var(--sans);padding:64px 0 78px}
#going-together .hcx-inner{width:min(calc(100% - 32px),1190px)}
#going-together .hcx-eyebrow{color:#397db8;font-size:10px;letter-spacing:.13em}
#going-together h2{font:600 clamp(2.2rem,5.2vw,3.9rem)/1.1 var(--serif);color:#173d67;letter-spacing:-.04em}
#going-together h2 em{color:#b85e43}
#going-together h3{font:600 24px/1.23 var(--serif);color:#173d67}
#going-together .hcx-head p:not(.hcx-eyebrow),#going-together .hcx-content-head p{color:#566f88;line-height:1.7}
#going-together .hcx-switch{border-radius:5px;overflow:hidden;border-color:#d5dee8;background:#f1f4f7;gap:3px;padding:3px}
#going-together .hcx-switch button{border:none;background:transparent;color:#4e6b84;font:750 12px/1.3 var(--sans);min-height:46px}
#going-together .hcx-switch button.is-active{background:#173d67;color:#fff;border-radius:3px}
#going-together .hcx-filters{border-radius:5px;border:1px solid #d9e2eb;padding:15px;gap:12px;box-shadow:0 5px 15px rgba(17,49,79,.04)}
#going-together label span{font:750 11px/1.4 var(--sans);color:#43627c}
#going-together input,#going-together select,#going-together textarea{font:500 13px/1.5 var(--sans);border-radius:3px;border-color:#c5d3e1;min-height:46px}
#going-together .hcx-primary{background:#b85e43;border-color:#b85e43;color:#fff;font:750 12px/1.3 var(--sans);border-radius:3px}
#going-together .hcx-primary:hover{background:#a24f37}
#going-together .hcx-secondary,#going-together .hcx-secondary-button{color:#173d67;border-color:#a6bbce;font:750 12px/1.3 var(--sans)}
#going-together .hcx-link{color:#2b6ea3;font:750 12px/1.4 var(--sans)}
#going-together .hcx-empty,#going-together .hcx-plan{border:1px solid #dfe5eb;border-radius:5px;box-shadow:0 5px 18px rgba(17,49,79,.035);padding:22px}
#going-together .hcx-empty-grid>div{background:#f7f9fb;border:1px solid #e1e7ed;border-radius:3px}
#going-together .hcx-next{background:#173d67;border-radius:5px}
#going-together .hcx-next h3{color:#fff}
#going-together .hcx-next-links a{border-color:#98aec3;font:750 12px/1.4 var(--sans)}
#going-together .hcx-editor{font-family:var(--sans)}
#going-together .hcx-editor .hcx-editor-notice{border-left-color:#b85e43;background:#f8f7f3}

/* Discovery, reassuring privacy and transparent sample accounts */
.explore{background:#f8f7f3}
.demo-flag{background:#f0f4f8;border:1px solid #d6e2ec;color:#4a6984;border-radius:3px}
.filter-bar{background:#fff;border:1px solid #dbe4ec;border-radius:5px;box-shadow:none}
.filter-field label{color:#4c6a84}
.filter-field input,.filter-field select,.field input,.field select,.field textarea{border-color:#c5d4e1;border-radius:3px;font-family:var(--sans)}
.profile-grid{gap:13px}
.profile-card{border:1px solid #dfe6ed;border-radius:5px;padding:20px;box-shadow:0 5px 18px rgba(17,49,79,.035)}
.profile-name{font:600 21px/1.17 var(--serif)}
.profile-purpose{margin-left:auto;border-radius:3px;background:#f4f0e9;border-color:#e2d8cb;color:#81543a}
.avatar,.avatar.terracotta,.avatar.olive,.avatar.purple,.avatar.goldtone,.avatar.ocean{border-radius:5px;background:#275981;color:#fff}
.tag{border-radius:3px;background:#f0f5fa;font-size:10px;color:#426888}
.profile-bio{min-height:0;font-size:12px}
.empty{border-radius:5px}

/* City cards: consistent, restrained, not invented event photography */
.destinations{background:#fff}
.city-card,
.city-card:nth-child(2),
.city-card:nth-child(3),
.city-card:nth-child(4){background:#173d67;border:1px solid #325b80;border-radius:5px;min-height:182px;padding:22px}
.city-card:nth-child(2){background:#27577c}
.city-card:nth-child(3){background:#1d476b}
.city-card:nth-child(4){background:#315d7a}
.city-card:before{width:190px;height:190px;left:auto;right:-55px;top:-75px;opacity:.28;box-shadow:0 0 0 45px rgba(255,255,255,.04)}
.city-card h3{font:600 31px/1.2 var(--serif);letter-spacing:-.03em}
.city-card p{font-size:12px}
.city-card:hover{transform:translateY(-2px);border-color:#b8cedf}

/* Explanation and privacy sections */
.steps{background:#f8f7f3}
.step-grid{gap:12px}
.step{border:1px solid #e0e6eb;border-radius:5px;background:#fff;padding:24px}
.step-index{color:#b85e43}
.step-symbol{width:46px;height:46px;background:#eaf2f8;color:#2f6997;border-radius:4px}
.step h3{font:600 24px/1.2 var(--serif)}
.safety{background:#fff}
.safety-list{gap:13px}
.safety-item{font-size:13px;color:#5a7188}
.tick{background:#eaf2f8;color:#27628c;border-radius:4px}
.safety-box{background:#173d67;border-radius:5px}
.safety-box:before{opacity:.35}
.safety-box .seal{border-radius:4px;background:#e7eff6;color:#173d67}
.safety-box h3{font:600 32px/1.2 var(--serif)}
.callout{background:#e9eff4;padding:70px 0}
.callout h2{font:600 clamp(2.7rem,5.8vw,5.4rem)/1.06 var(--serif)}
.callout h2 em{color:#b85e43}
.callout p{font-size:14px;line-height:1.75}
.footer{background:#142d48;color:#d5e1ea}
.footer .brand-txt{color:#fff}

/* Auth module: no logic changes, only visual consistency */
#connectSecure{background:#edf0f3;color:#173d67;padding:70px 0 88px;font-family:var(--sans)}
#connectSecure .hc-shell{width:min(calc(100% - 32px),1190px)}
#connectSecure .hc-eyebrow{color:#397db8}
#connectSecure h2{font:600 clamp(2rem,4.8vw,3.75rem)/1.1 var(--serif);color:#173d67}
#connectSecure h3{font:600 23px/1.2 var(--serif);color:#173d67}
#connectSecure h4{font:750 14px/1.4 var(--sans)}
#connectSecure .hc-card{border:1px solid #dfe6ed;border-radius:5px;box-shadow:0 5px 18px rgba(17,49,79,.04)}
#connectSecure input:not([type=checkbox]),#connectSecure textarea,#connectSecure select{font:500 13px/1.5 var(--sans);border:1px solid #bdcddd;border-radius:3px;min-height:46px}
#connectSecure .hc-btn{font:750 12px/1.3 var(--sans);border-radius:3px;min-height:46px}
#connectSecure .hc-primary{background:#b85e43;border-color:#b85e43}
#connectSecure .hc-primary:hover{background:#a24f37;border-color:#a24f37}
#connectSecure .hc-progress span.hc-current{border-bottom-color:#b85e43}
#connectSecure .hc-google{background:#fff;border:1px solid #b9ccdc}
#connectSecure .hc-alert{border-left-color:#397db8;border-radius:3px}
#connectSecure .hc-pill{border-radius:3px}
#connectSecure .hc-choice{border-radius:3px}

/* Mobile thumb reach and clear hierarchy */
.mobile-bottom{height:calc(66px + env(safe-area-inset-bottom));background:rgba(248,247,243,.98);border-color:#d6e0e9}
.mobile-bottom a{color:#486b87;min-height:60px;font:750 11px/1.35 var(--sans)}
.mobile-bottom .nav-symbol{font-size:19px;color:#b85e43}
.drawer{border-radius:0;background:#fff}
.xbtn{border-radius:3px}
.toast{border-radius:3px;background:#173d67}
@media(min-width:620px){
  .hero-actions{display:flex;max-width:none}
  .hero-actions .btn:first-child{grid-column:auto}
  .hero-actions .btn:first-child span:first-child{margin-left:0}
  .hero-actions .btn:first-child span:last-child{margin-left:8px}
  .experience-gallery{grid-template-rows:190px 190px;gap:12px}
  .possibilities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .possibility-image{height:185px}
}
@media(min-width:900px){
  .hero-inner{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:48px;padding:80px 0 90px}
  .hero h1{font-size:clamp(4.25rem,5.5vw,6.65rem)}
  .experience-gallery{grid-template-rows:215px 215px;gap:12px}
  .possibilities-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .section{padding:82px 0}
  #going-together{padding:85px 0}
  #connectSecure{padding:85px 0}
}
@media(max-width:600px){
  .header-inner{gap:7px;min-height:62px}
  .brand{gap:7px}
  .brand-logo{width:33px;height:33px}
  .brand-txt{font-size:16px}
  .brand-sub{font-size:8px}
  .header-right{gap:5px;flex:0 0 auto}
  .langpick{height:40px;max-width:58px;padding:0 3px;font-size:11px}
  .menu-btn{width:40px;height:40px;border-radius:3px}
}
@media(max-width:430px){
  .hero-inner{padding:40px 0 43px}
  .hero h1{font-size:clamp(3rem,11.5vw,3.5rem);line-height:1.07}
  .hero-actions .btn{padding:12px 9px;font-size:11px}
  .hero-micro .micro{font-size:10px}
  .experience-gallery{grid-template-rows:155px 155px;gap:8px}
  .experience-frame--main figcaption{font-size:20px}
  .possibilities{padding:57px 0 65px}
  .possibility-image{height:165px}
  .footer{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
}
@media(max-width:359px){
  .hero h1{font-size:2.85rem}
  .hero-actions{grid-template-columns:1fr}
  .hero-actions .btn:first-child{grid-column:auto}
  .hero-micro{gap:6px}
  .hero-micro .micro{padding-right:8px}
  .experience-gallery{grid-template-rows:126px 126px}
}
@media(prefers-reduced-motion:reduce){
  .btn,.profile-card,.city-card,.possibility-card{transition:none}
}
