/* Quesly: quieter composition, real product screens, custom reactions. */
.hero-coffee { min-height: 0; padding: 124px 0 64px; }
.hero-ambient { background: var(--page-bg); }
.hero-coffee .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.hero-title { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -.055em; margin-top: 0; }
.hero-title em { color: var(--forest); font-style: normal; background: none; }
.hero-sub { max-width: 350px; margin-top: 22px; font-size: 16px; line-height: 1.65; }

.hero-form { width: 100%; max-width: 440px; margin-top: 26px; }
.hero-form .signup-row { background: #fff; box-shadow: none; border: 1px solid var(--line); }

.hero-editorial { min-width: 0; width: 100%; max-width: 480px; justify-self: end; }
.hero-editorial .hs-photo-frame { position: relative; inset: auto; width: 100%; height: auto; margin: 0; aspect-ratio: 1 / 1.08; transform: none; border-radius: 140px 140px 24px 24px; overflow: hidden; box-shadow: none; }
.hero-editorial .hero-pic { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }

/* A real screenshot fan, without a synthetic phone shell or scroll lock. */
.how-fan { background: var(--page-bg); color: var(--deep); border-top: 1px solid var(--line); padding: 76px 0 60px; overflow: hidden; }
.fan-heading { text-align: center; }
.fan-heading .h2 { font-size: var(--fs-h2); }
.screenshot-fan { height: 480px; position: relative; max-width: 740px; margin: 44px auto 22px; isolation: isolate; touch-action: pan-y; }
.fan-shot { display: block; position: absolute; left: 50%; top: 0; width: 208px; padding: 0; border: 4px solid #fff; background: #fff; border-radius: 28px; overflow: hidden; cursor: pointer; box-shadow: 0 25px 50px -24px rgb(5 48 31 / .33); transition: transform .8s var(--expo), box-shadow .8s var(--expo); transform: translateX(-50%); }
.fan-shot img { width: 100%; height: auto; }
.fan-shot[data-position="-1"] { z-index: 1; transform: translateX(calc(-50% - 176px)) translateY(32px) rotate(-13deg) scale(.91); }
.fan-shot[data-position="1"] { z-index: 2; transform: translateX(calc(-50% + 176px)) translateY(32px) rotate(13deg) scale(.91); }
.fan-shot[data-position="0"] { z-index: 3; transform: translateX(-50%); box-shadow: 0 30px 60px -24px rgb(5 48 31 / .4); }
.fan-shot:focus-visible { outline-offset: 7px; }
.fan-bottom { border-top: 1px solid var(--sage); padding-top: 26px; max-width: 740px; margin: 0 auto; display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.fan-caption { max-width: 510px; }

.fan-caption h3 { margin-top: 0; font: 500 22px/1.2 var(--display); letter-spacing: -.03em; }

.fan-controls { display: flex; flex: none; gap: 10px; }
.fan-controls button { width: 44px; height: 44px; border: 1px solid var(--sage); background: transparent; border-radius: 50%; cursor: pointer; font-size: 23px; transition: background .2s, color .2s; }
.fan-controls button:hover { background: var(--deep); color: var(--bone); }

/* Real photography paired with one restrained product card. */
.photo-stories { background: var(--page-bg); padding: 72px 0 88px; overflow: hidden; }
.connection-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(56px, 6vw, 104px); }
.connection-story + .connection-story { margin-top: 110px; }
.story-copy { max-width: 480px; }
.story-copy .h2 { margin-top: 0; font-size: var(--fs-h2); }
.story-copy > p { max-width: 370px; margin-top: 24px; font: 400 16px/1.7 var(--ui); color: var(--gray); }
.story-visual { position: relative; width: 100%; max-width: 460px; justify-self: end; padding-bottom: 24px; }
.story-photo { width: 100%; aspect-ratio: 1 / 1.1; border-radius: 24px; overflow: hidden; background: var(--bone); }
.story-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.story-answer { position: absolute; z-index: 2; bottom: 0; left: -22px; width: min(350px, calc(100% - 24px)); padding: 20px 22px 25px; border: 1px solid rgb(255 255 255 / .8); border-radius: 20px; background: rgb(255 255 255 / .95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 45px -25px rgb(5 48 31 / .4); }
.story-question { font: 500 16px/1.35 var(--display); color: var(--forest); }
.story-answer-person { display: flex; align-items: center; gap: 9px; margin-top: 17px; }
.story-answer-person .av { width: 26px; height: 26px; }
.story-answer-person b { font: 500 12px/1.2 var(--ui); color: var(--deep); }
.story-answer-text { margin-top: 12px; font: 400 16px/1.5 var(--ui); color: var(--deep); }
.story-reaction { position: absolute; right: 16px; bottom: -16px; width: 64px; height: 48px; object-fit: contain; transform: rotate(-7deg); }
.story-world .story-copy { grid-column: 2; grid-row: 1; justify-self: end; }
.story-world .story-visual { grid-column: 1; grid-row: 1; justify-self: start; }
.story-world .story-photo > img { object-position: 50% 55%; }
.story-world .story-answer { left: auto; right: -22px; }

/* Product details: no invented calendar UI, no freeze, no badge inspector. */
.st.custom-reaction { background: none; box-shadow: none; padding: 0; border: 0; width: calc(var(--s, 42px) * 1.3); height: var(--s, 42px); }
.st.custom-reaction img { width: 100%; height: 100%; object-fit: contain; }
.streak-symbol { width: 48px; height: 56px; color: #F58A38; }
.widget-symbol { width: 22px; height: 28px; color: #F58A38; }
.art-memory { display: grid; place-items: center; }
.saved-answer { width: min(100%, 304px); padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px -20px rgb(5 48 31 / .24); }
.saved-answer-person { display: flex; align-items: center; gap: 10px; }
.saved-answer-person .av { width: 30px; height: 30px; }
.saved-answer-person b { font: 500 12px/1.3 var(--ui); }
.saved-answer-menu { margin-left: auto; color: var(--sage); font-size: 12px; letter-spacing: 2px; }
.saved-answer > p { margin: 17px 0 18px; font: 400 17px/1.45 var(--ui); color: var(--deep); opacity: 1; }
.saved-answer-actions { display: flex; align-items: center; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--gray); }
.saved-answer-actions svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.saved-answer-actions .saved-answer-bookmark { margin-left: auto; }
.art-private { gap: 14px; }
.reaction-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; width: min(100%, 230px); }
.reaction-gallery img { width: 100%; height: 50px; object-fit: contain; }
.reaction-gallery img:nth-child(3n+1) { transform: rotate(-7deg); }
.reaction-gallery img:nth-child(3n) { transform: rotate(7deg); }
.reaction-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--gray); font: 400 12px/1.3 var(--ui); }
.reaction-privacy svg { width: 17px; height: 17px; color: var(--forest); }

/* A photographic invitation, with separate image and text scroll layers. */
.investor-cinema { position: relative; isolation: isolate; overflow: hidden; margin-top: 64px; min-height: 610px; border-radius: 28px; background: #262322; color: #fff; }
.investor-photo { position: absolute; z-index: -2; inset: -9% -6% -9% 23%; mask-image: linear-gradient(90deg, transparent, #000 24%); }
.investor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 48%; }
.investor-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #262322 0%, rgb(38 35 34 / .94) 22%, rgb(38 35 34 / .64) 43%, transparent 73%), linear-gradient(0deg, rgb(20 17 15 / .35), transparent 55%); }
.investor-content { min-height: inherit; display: flex; flex-direction: column; align-items: flex-start; padding: 38px 44px 48px; }
.investor-label { font: 400 12px/1.4 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .85); }
.investor-copy { margin-top: auto; padding-top: 56px; max-width: 470px; }
.investor-copy h3 { margin: 0; font: 500 clamp(36px, 3.4vw, 50px)/1.08 var(--display); letter-spacing: -.05em; color: #fff; }
.investor-copy h3 em { font-style: normal; color: var(--pink); }
.investor-copy > p { max-width: 320px; margin-top: 24px; color: rgb(255 255 255 / .9); font: 400 16px/1.65 var(--ui); }
.investor-cinema .ib-actions { margin-top: 30px; gap: 16px; }
.investor-cinema .btn { min-height: 48px; padding: 14px 25px; background: #fff; color: var(--deep); font-size: 14px; }
.investor-cinema .btn:hover { background: var(--pink); }
.investor-cinema .ib-secondary { color: #fff; font-size: 13px; }
.investor-cinema .ib-secondary:hover { color: var(--pink); }

/* Keep the palette in typography and product details; surfaces stay quiet. */
.hero-form .btn-lime, .btn-lime { background: var(--deep); color: var(--bone); }
.hero-form .btn-lime:hover, .btn-lime:hover { background: var(--forest); color: var(--bone); box-shadow: none; }
.nav:not(.on-light):not(.is-scrolled) .btn-lime { background: var(--bone); color: var(--deep); }
.features { background: var(--page-bg); color: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features .card { background: #fff; color: var(--deep); border: 1px solid var(--line); border-radius: 22px; box-shadow: none; }
.features .card::before { display: none; }
.features .c-mint { background: #fff; }
.features .c-paper, .features .c-green-deep { background: #fff; color: var(--deep); }
.features .c-green-deep .card-copy p { color: var(--gray); opacity: 1; }
.features .c-dark { background: #fff; color: var(--deep); }
.art-streak .num { color: var(--deep); }
.art-streak .lbl { color: var(--gray); }
.art-private .lock { background: transparent; color: var(--deep); padding: 9px 0; }
.art-private .lock svg { color: var(--forest); }
.art-widgets .w-s { background: var(--pink); color: var(--deep); }
.art-widgets .w-s small { color: var(--deep); }
.art-stories .sc-1 { background: var(--deep); }
.art-stories .sc-3 { background: var(--pink); color: var(--deep); }
.member-join .plus { background: var(--pink); color: var(--deep); }
/* Display titles use the same Medium face as the investor headline. */
:is(.hero-title, .h2, .cta-title, .card h3, .perspective-head h3, .fan-caption h3, .thanks-title) { font-weight: 500; }

/* Explicit footer columns keep the logo, action and navigation in their own flow. */
.fx-top { grid-template-columns: minmax(220px, 1.3fr) minmax(120px, .8fr) minmax(120px, .8fr) minmax(230px, 1.2fr); gap: clamp(24px, 3vw, 52px); }
.fx-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.fx-logo { display: block; width: min(210px, 100%); flex: none; }
.fx-logo svg { width: 100%; height: auto; }
.fx-brand .fx-cta { margin-top: 0; max-width: 100%; flex: none; }
.fx-col { min-width: 0; }
.fx-mail { max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .fx-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .fx-brand, .fx-col:last-child { grid-column: 1 / -1; }
}


@media (max-width: 1000px) {
  .hero-title { font-size: clamp(38px, 4.6vw, 50px); }
  .hero-coffee .hero-grid { gap: 32px; }
  .hero-sub { font-size: 16px; }

}
@media (max-width: 720px) {
  .hero-coffee { padding: 104px 0 40px; min-height: 0; }
  .hero-coffee .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-title { font-size: clamp(34px, 9.5vw, 40px); margin-top: 0; }
  .hero-sub { margin-top: 20px; max-width: 340px; }
  .hero-form { margin-top: 24px; }
  .hero-editorial { justify-self: center; }
  .photo-stories { padding: 56px 0 64px; }
  .connection-story { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .connection-story + .connection-story { margin-top: 66px; }
  .story-copy, .story-world .story-copy { grid-column: 1; grid-row: auto; max-width: 100%; justify-self: stretch; }
  .story-copy > p { margin-top: 18px; font-size: 15px; }
  .story-visual, .story-world .story-visual { grid-column: 1; grid-row: auto; justify-self: center; max-width: 420px; }
  .story-photo { aspect-ratio: 4 / 5; border-radius: 20px; }
  .story-answer, .story-world .story-answer { left: 14px; right: 14px; width: auto; padding: 17px 18px 23px; }
  .story-question { font-size: 15px; }
  .story-answer-text { font-size: 15px; }

  .hero-editorial .hs-photo-frame { aspect-ratio: 1.25; border-radius: 130px 130px 20px 20px; }

  .how-fan { padding: 72px 0 48px; }
  .fan-heading .h2 { font-size: 30px; }
  .screenshot-fan { height: 380px; margin-top: 32px; margin-bottom: 10px; }
  .fan-shot { width: 168px; border-width: 4px; border-radius: 28px; }
  .fan-shot[data-position="-1"] { transform: translateX(calc(-50% - 102px)) translateY(35px) rotate(-14deg) scale(.85); }
  .fan-shot[data-position="1"] { transform: translateX(calc(-50% + 102px)) translateY(35px) rotate(14deg) scale(.85); }
  .fan-bottom { gap: 20px; align-items: flex-start; }
  .fan-caption h3 { font-size: 20px; }

  .fan-controls { gap: 6px; margin-top: 4px; }
  .fan-controls button { width: 36px; height: 36px; font-size: 19px; }
  .features .rail-wrap { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .features .rail { display: grid; width: 100%; grid-template-columns: 1fr; gap: 16px; }
  .features .card, .features .card.c-badges { width: 100%; max-width: none; min-height: 320px; }
  .features .card.c-badges { min-height: 0; gap: 24px; }
  .c-badges .art-badges { min-height: 160px; }


}
@media (prefers-reduced-motion: reduce) {
  .fan-shot { transition: none; }
}

@media (max-width: 820px) {
  .investor-cinema { min-height: 620px; }
  .investor-content { padding: 30px; }
  .investor-copy { max-width: 380px; }
  .investor-copy h3 { font-size: 40px; }
}
@media (max-width: 600px) {
  .investor-cinema { min-height: 720px; margin-top: 40px; border-radius: 22px; }
  .investor-photo { inset: -30px -8% auto; height: 460px; mask-image: none; }
  .investor-photo img { object-position: center 38%; }
  .investor-shade { background: linear-gradient(0deg, #262322 0%, #262322 33%, rgb(38 35 34 / .85) 47%, transparent 72%), linear-gradient(180deg, rgb(0 0 0 / .4), transparent 22%); }
  .investor-content { padding: 26px 24px 30px; }
  .investor-label { font-size: 11px; }
  .investor-copy { padding-top: 290px; }
  .investor-copy h3 { font-size: clamp(30px, 8.2vw, 38px); }
  .investor-copy > p { margin-top: 18px; font-size: 15px; }
  .investor-cinema .ib-actions { gap: 10px; margin-top: 24px; }
  .investor-cinema .ib-secondary { padding-left: 0; }
}

/* The closing invitation shares the footer surface. */
.footer-compact { padding-top: 0; background: #fff; color: var(--deep); }
.footer-signup { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.footer-signup h2 { font: 500 clamp(28px, 2.6vw, 38px)/1.15 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.footer-signup .signup { justify-self: end; max-width: 490px; }
.footer-signup .signup-row { border: 1px solid var(--line); box-shadow: none; }
.footer-signup .signup-row:focus-within { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.footer-signup .signup input { padding: 0 16px; font-size: 15px; }
.footer-signup .signup .btn { padding: 15px 22px; font-size: 14px; }
.footer-compact .fx-top { padding-top: 40px; padding-bottom: 36px; border-bottom-color: var(--line); }
.footer-compact .fx-logo { --logo-text: var(--deep); width: 165px; }
.footer-compact .fx-col h3 { color: var(--forest); font-weight: 500; letter-spacing: .08em; }
.footer-compact .fx-col a { color: var(--deep); }
.footer-compact .fx-col a:hover { color: var(--forest); }
.footer-compact .fx-mail { color: var(--forest) !important; font-weight: 500; }
.footer-compact .footer-bottom { color: var(--gray); }
@media (max-width: 820px) {
  .footer-signup { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .footer-signup .signup { justify-self: start; }
  .footer-signup h2 { font-size: 32px; text-wrap: initial; }
}
@media (max-width: 600px) {
  .footer-signup .signup-row { border-radius: 22px; }
  .footer-signup .signup input { min-height: 46px; }
  .footer-signup .signup .btn { min-height: 48px; }
  .footer-compact .fx-top { padding-top: 32px; }
}

/* The brand signature aligns with the shared footer content edges. */
.footer-compact { padding-bottom: 0; }
.footer-wordmark { --logo-text: var(--deep); display: block; margin: clamp(32px, 4vw, 64px) 0 0; padding-bottom: clamp(12px, 1.5vw, 28px); }
.footer-wordmark svg { display: block; width: 100%; height: auto; aspect-ratio: 3000 / 602; }
.footer-wordmark:focus-visible { outline-offset: 4px; }

.footer-compact .fx-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-compact .fx-col:last-child { grid-column: auto; }
@media (max-width: 600px) {
  .footer-compact .fx-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-compact .fx-col:last-child { grid-column: 1 / -1; }
}

/* Equal side columns keep the main menu on the page centerline. */
.nav.hide-cta .nav-actions .btn-sm { display: none; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav-actions .lang summary { padding: 10px 4px; font: 500 13px/1 var(--display); color: #fff; border-radius: 999px; }
.nav-actions .lang summary svg { fill: none; stroke: currentColor; }
.nav:is(.on-light, .is-scrolled) .nav-actions .lang summary { color: var(--deep); }
.nav-actions .lang summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.nav-actions .lang[open] summary { background: rgb(255 255 255 / .2); }
.nav-actions .lang ul { z-index: 2; }
@media (min-width: 821px) and (max-width: 1100px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 8px; }
  .nav-links a { padding: 10px; font-size: 13px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 12px 14px; font-size: 12px; }
}
@media (max-width: 820px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .lang summary { padding: 8px; }
  .nav-actions .btn-sm { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 370px) {
  .nav-actions .btn-sm { display: none; }
}
