/*
I style the Generic Coffee Shop public and sign-in pages with the approved brand system.
The layout carries the same forest, oat, copper and honey palette as the mobile app.
Author: Maré Greyling (Thevertex) <mare.greyling@gmail.com> — https://mare-greyling.com
*/
:root {
  --gcs-forest: #263D35;
  --gcs-oat: #F7F1E6;
  --gcs-copper: #C36E4D;
  --gcs-honey: #D5A45E;
  --gcs-ink: #302E29;
  --gcs-muted: #766F64;
  --gcs-border: #E7DDCD;
  --tc-ink: var(--gcs-ink);
  --tc-cream: var(--gcs-oat);
  --tc-surface: #FFFCF6;
  --tc-muted: var(--gcs-muted);
  --tc-faint: #928A7E;
  --tc-line: var(--gcs-border);
  --tc-gold: var(--gcs-honey);
  --tc-red: #A33D30;
  --tc-red-tint: #F7E9E4;
  --tc-tint: #F1E9DB;
  --tc-skeleton: #A8A398;
  --tc-caps: "Montserrat", sans-serif;
  --tc-serif: "Merriweather", Georgia, serif;
  --tc-script-font: "Herr Von Muellerhoff", cursive;
  color-scheme: light;
  font-family: var(--tc-caps);
  color: var(--gcs-ink);
  background: var(--gcs-oat);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--gcs-oat); }
body { margin: 0; min-width: 320px; color: var(--gcs-ink); background: #FFFCF6; font: 500 15px/1.65 var(--tc-caps); }
body, button, input { font-family: var(--tc-caps); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.tc-script { color: var(--gcs-copper); font: 400 52px/1 var(--tc-script-font); }
.tc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgb(255 252 246 / 38%); border-radius: 999px; color: #FFFCF6; background: rgb(38 61 53 / 48%); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(12px); }
.tc-nav { position: relative; z-index: 2; display: flex; width: 100%; min-height: 104px; align-items: center; justify-content: space-between; gap: 36px; margin: 0 auto; padding: 0 max(32px, calc((100% - 1240px) / 2)); border-bottom: 1px solid #EDE5D8; background: var(--gcs-oat); }
.tc-nav__logo { display: inline-flex; flex: 0 0 auto; align-items: center; }
.tc-nav__logo img { width: 224px; height: auto; }
.tc-nav__links { display: flex; align-items: center; gap: 34px; color: #5C5A51; font-size: 12px; font-weight: 650; }
.tc-nav__links > a:not(.tc-nav__cta) { transition: color .2s ease; }
.tc-nav__links > a:not(.tc-nav__cta):hover { color: var(--gcs-copper); }
.tc-nav__cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 999px; color: #FFFCF6; background: var(--gcs-forest); font-size: 11px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.tc-nav__cta:hover { background: #36574B; transform: translateY(-1px); }

.tc-hero { position: relative; display: flex; width: min(100% - 64px, 1320px); min-height: 650px; align-items: center; overflow: hidden; margin: 0 auto; border-radius: 30px; color: var(--gcs-oat); background: #17251F; isolation: isolate; }
.tc-hero__img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.tc-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #17251F 0%, rgb(23 37 31 / 97%) 24%, rgb(23 37 31 / 82%) 43%, rgb(23 37 31 / 28%) 69%, rgb(23 37 31 / 8%) 100%); }
.tc-hero > .tc-tag { position: absolute; top: 30px; right: 30px; }
.tc-hero__body { width: min(64%, 760px); padding: 82px 0 78px 86px; }
.tc-hero__script { margin-bottom: 18px; color: #E7BC83; font-size: 58px; }
.tc-hero__title { max-width: 690px; margin: 0; color: #FFFCF6; font: 400 clamp(46px, 5.5vw, 74px)/1.08 var(--tc-serif); letter-spacing: -.055em; }
.tc-hero__lede { max-width: 520px; margin: 24px 0 0; color: #E1E4DA; font-size: 15px; line-height: 1.85; }
.tc-hero__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tc-store { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid #FFFCF6; border-radius: 999px; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.tc-store:hover { transform: translateY(-2px); }
.tc-store i { font-size: 17px; }
.tc-store--light { color: var(--gcs-forest); background: #FFFCF6; }
.tc-store--outline { border-color: rgb(255 252 246 / 58%); color: #FFFCF6; background: rgb(255 252 246 / 6%); }
.tc-store--outline:hover { background: rgb(255 252 246 / 14%); }
.tc-store--ghost { border-color: rgb(255 252 246 / 48%); color: #FFFCF6; background: rgb(255 252 246 / 8%); }
.tc-store[aria-disabled="true"] { cursor: default; opacity: .72; }
.tc-apk-help { max-width: 460px; margin-top: 16px; padding: 14px 16px; border: 1px solid rgb(255 252 246 / 30%); border-radius: 14px; color: #FFFCF6; background: rgb(22 38 32 / 76%); font-size: 11px; line-height: 1.65; }
.tc-apk-help summary { cursor: pointer; font-weight: 700; }
.tc-apk-help ol { display: grid; gap: 7px; margin: 12px 0; padding-left: 20px; color: #E1E4DA; }
.tc-apk-help p { margin: 0; color: #E7BC83; }
.tc-sample { max-width: 470px; margin-top: 18px; color: #D8DCCF; font-size: 10px; letter-spacing: .025em; }
.tc-tf { display: grid; gap: 10px; max-width: 410px; margin-top: 24px; padding: 20px; border: 1px solid rgb(255 252 246 / 22%); border-radius: 18px; background: rgb(22 38 32 / 82%); }
.tc-tf__title { color: #FFFCF6; font: 600 16px/1.4 var(--tc-serif); }
.tc-tf__text { margin: 0; color: #E1E4DA; font-size: 11px; line-height: 1.6; }
.tc-tf__label { margin: 3px 0 -4px; color: #F7F1E6; font-size: 10px; font-weight: 700; }
.tc-tf__input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid rgb(255 252 246 / 45%); border-radius: 10px; outline: 0; color: var(--gcs-ink); background: #FFFCF6; font-size: 12px; }
.tc-tf__input:focus { border-color: var(--gcs-honey); box-shadow: 0 0 0 3px rgb(213 164 94 / 20%); }
.tc-tf__send { min-height: 44px; border: 0; border-radius: 999px; color: var(--gcs-ink); background: var(--gcs-honey); font-size: 11px; font-weight: 750; }
.tc-tf__send:disabled { cursor: wait; opacity: .65; }
.tc-tf__err { color: #FFD2C6; font-size: 12px; }
.tc-tf__done { color: #DCE9D9; font-size: 12px; }

.tc-section { padding: 106px max(32px, calc((100% - 1240px) / 2)) 112px; background: #FFFCF6; }
.tc-section__heading, .tc-locations__heading { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.tc-section__script { margin-bottom: 8px; }
.tc-section__heading h2, .tc-locations__heading h2, .tc-loyalty__copy h2 { margin: 0; color: var(--gcs-ink); font: 400 clamp(30px, 3.4vw, 46px)/1.18 var(--tc-serif); letter-spacing: -.04em; }
.tc-section__heading p, .tc-locations__heading p { max-width: 590px; margin: 15px auto 0; color: var(--gcs-muted); font-size: 13px; line-height: 1.8; }
.tc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tc-step { position: relative; min-height: 250px; padding: 24px 22px; border: 1px solid #EAE2D5; border-radius: 18px; background: #FFFCF6; box-shadow: 0 12px 34px rgb(38 61 53 / 4%); }
.tc-step__number { position: absolute; top: 21px; right: 21px; color: #B6AB99; font: 400 14px var(--tc-serif); }
.tc-step__icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 26px; border-radius: 15px; color: var(--gcs-forest); background: #F0EADF; }
.tc-step__icon i { font-size: 23px; }
.tc-step__icon--gold { color: #674717; background: #F3E4C7; }
.tc-step__title { margin: 0; color: var(--gcs-ink); font: 600 17px/1.45 var(--tc-serif); }
.tc-step__text { margin: 10px 0 0; color: var(--gcs-muted); font-size: 11px; line-height: 1.8; }
.tc-kicker { color: var(--gcs-muted); font-size: 9px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.tc-loyalty { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 90px; padding: 100px max(32px, calc((100% - 1120px) / 2)); background: var(--gcs-oat); }
.tc-loyalty__copy { max-width: 530px; }
.tc-loyalty__copy > .tc-script { margin: 18px 0 8px; font-size: 46px; }
.tc-loyalty__copy h2 { max-width: 480px; }
.tc-loyalty__copy p { margin: 18px 0 0; color: var(--gcs-muted); font-size: 13px; line-height: 1.9; }
.tc-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--gcs-forest); font-size: 11px; font-weight: 750; }
.tc-text-link i { font-size: 15px; transition: transform .2s ease; }
.tc-text-link:hover i { transform: translateX(4px); }
.tc-loyalty-card { max-width: 490px; padding: 31px; border-radius: 24px; color: var(--gcs-oat); background: var(--gcs-forest); box-shadow: 0 28px 68px rgb(38 61 53 / 22%); transform: rotate(1.5deg); }
.tc-loyalty-card__top, .tc-loyalty-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-loyalty-card__top img { width: 134px; border-radius: 3px; }
.tc-loyalty-card__top .tc-kicker { color: #E6C58D; }
.tc-loyalty-card h3 { margin: 27px 0 7px; color: #FFFCF6; font: 400 31px/1.2 var(--tc-serif); letter-spacing: -.035em; }
.tc-loyalty-card > p { margin: 0; color: #D8DCCF; font-size: 10px; }
.tc-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 26px 0 23px; }
.tc-stamps span { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgb(247 241 230 / 38%); border-radius: 50%; color: var(--gcs-forest); }
.tc-stamps .is-filled { border-color: var(--gcs-honey); background: var(--gcs-honey); }
.tc-stamps i { font-size: 17px; }
.tc-loyalty-card__bottom { padding-top: 16px; border-top: 1px solid rgb(247 241 230 / 24%); color: #E6C58D; font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.tc-locations { padding: 102px max(32px, calc((100% - 1240px) / 2)) 112px; background: #FFFCF6; }
.tc-locations__heading { margin-bottom: 42px; }
.tc-locations__heading > .tc-script { margin-bottom: 8px; }
.tc-stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tc-storecard { min-height: 220px; padding: 24px; border: 1px solid #EAE2D5; border-radius: 18px; background: #FFFCF6; box-shadow: 0 12px 34px rgb(38 61 53 / 4%); }
.tc-storecard__mark { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 20px; border-radius: 50%; color: var(--gcs-oat); background: var(--gcs-forest); }
.tc-storecard__mark i { font-size: 21px; }
.tc-storecard .tc-kicker { font-size: 8px; }
.tc-storecard__name { margin: 6px 0 7px; color: var(--gcs-ink); font: 600 19px/1.35 var(--tc-serif); }
.tc-storecard p { margin: 0; color: var(--gcs-muted); font-size: 10px; line-height: 1.7; }
.tc-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px max(32px, calc((100% - 1240px) / 2)); border-top: 1px solid #EDE5D8; color: var(--gcs-muted); background: #F7F1E6; font-size: 10px; line-height: 1.9; }
.tc-footer a { color: var(--gcs-forest); }
.tc-footer a:hover { color: var(--gcs-copper); }
.tc-credit { color: var(--gcs-muted); white-space: nowrap; }
.tc-credit a { font-weight: 750; }

.tc-help__btn { position: fixed; z-index: 30; right: 22px; bottom: 22px; display: grid; width: 52px; height: 52px; place-items: center; border: 0; border-radius: 50%; color: #FFFCF6; background: var(--gcs-forest); box-shadow: 0 8px 24px rgb(38 61 53 / 22%); cursor: pointer; }
.tc-help__btn i { font-size: 22px; }
.tc-help__panel { position: fixed; z-index: 31; right: 22px; bottom: 86px; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 118px)); overflow: auto; padding: 18px; border: 1px solid var(--gcs-border); border-radius: 22px; background: #FFFCF6; box-shadow: 0 18px 50px rgb(38 61 53 / 18%); }
.tc-help__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-help__tab, .tc-help__send, .tc-help__sharpen, .tc-help__listen, .tc-help__showme { padding: 10px 14px; border: 0; border-radius: 999px; color: var(--gcs-forest); background: var(--gcs-oat); cursor: pointer; }
.tc-help__tab.is-active, .tc-help__send { color: var(--gcs-oat); background: var(--gcs-forest); }
.tc-help__label { display: block; margin: 14px 0 6px; font-weight: 650; }
.tc-help__input { width: 100%; padding: 11px 12px; border: 1px solid var(--gcs-border); border-radius: 12px; color: var(--gcs-ink); background: #fff; }
.tc-help__send { margin-top: 14px; }
.tc-help__foot, .tc-help__guide-b { color: var(--gcs-muted); font-size: 13px; line-height: 1.55; }
.tc-help__err { margin-top: 10px; color: #A33D30; }

.tc-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 999px; color: #FFFCF6; background: var(--gcs-forest); font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.tc-btn:hover { background: #36574B; transform: translateY(-1px); }
.tc-btn:focus-visible, .tc-nav a:focus-visible, .tc-store:focus-visible, .w1__link:focus-visible { outline: 3px solid var(--gcs-honey); outline-offset: 3px; }
.tc-btn--block { width: 100%; }
.w1 { min-height: 100vh; color: var(--gcs-ink); background: #FFFCF6; }
.w1__logo { height: auto; }
.w1__script { color: var(--gcs-copper); }
.w1__title { color: var(--gcs-ink); font-family: var(--tc-serif); }
.w1__label { color: var(--gcs-muted); }
.w1__input { outline: 0; }
.w1__input:focus { border-color: var(--gcs-forest); box-shadow: 0 0 0 3px rgb(38 61 53 / 10%); }
.w1__link { color: var(--gcs-forest); }
.w1__note { color: var(--gcs-muted); }
.w1__right { background: var(--gcs-forest); }
.w1__right::after { position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgb(22 34 29 / 52%)); content: ""; }
.w1__offline { border-radius: 14px; }
.tc-credit--dark { padding: 18px 32px; color: var(--gcs-muted); background: #F7F1E6; text-align: center; }

@media (max-width: 900px) {
  .tc-nav { min-height: 88px; padding: 0 20px; }
  .tc-nav__logo img { width: 190px; }
  .tc-nav__links { gap: 20px; }
  .tc-hero { width: min(100% - 40px, 1240px); min-height: 570px; }
  .tc-hero__body { width: 74%; padding-left: 48px; }
  .tc-hero__img { width: 100%; }
  .tc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-loyalty { gap: 42px; padding: 80px 34px; }
  .tc-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tc-storecard { min-height: 205px; }
}

@media (max-width: 620px) {
  .tc-nav { min-height: 76px; gap: 12px; padding: 0 12px; }
  .tc-nav__logo img { width: 148px; }
  .tc-nav__links { gap: 12px; font-size: 10px; }
  .tc-nav__links > a:nth-child(1), .tc-nav__links > a:nth-child(2), .tc-nav__links > a:nth-child(3) { display: none; }
  .tc-nav__cta { min-height: 40px; padding: 0 14px; }
  .tc-hero { width: calc(100% - 24px); min-height: 730px; align-items: flex-end; border-radius: 24px; }
  .tc-hero__img { top: 0; right: auto; left: 0; width: 100%; height: 52%; object-position: 68% center; }
  .tc-hero__shade { background: linear-gradient(180deg, rgb(23 37 31 / 0%) 0%, rgb(23 37 31 / 8%) 33%, rgb(23 37 31 / 48%) 45%, #17251F 54%, #17251F 100%); }
  .tc-hero > .tc-tag { top: 15px; right: 15px; padding: 7px 10px; font-size: 8px; }
  .tc-hero__body { width: 100%; margin-top: auto; padding: 0 24px 28px; }
  .tc-hero__script { margin-bottom: 10px; font-size: 40px; }
  .tc-hero__title { font-size: clamp(34px, 10vw, 43px); }
  .tc-hero__lede { margin-top: 14px; font-size: 12px; }
  .tc-hero__stores { gap: 8px; margin-top: 20px; }
  .tc-store { min-height: 44px; padding: 0 13px; font-size: 9px; }
  .tc-sample { margin-top: 12px; font-size: 9px; }
  .tc-section { padding: 72px 18px 76px; }
  .tc-section__heading { margin-bottom: 32px; }
  .tc-section__heading h2, .tc-locations__heading h2, .tc-loyalty__copy h2 { font-size: 30px; }
  .tc-section__heading p, .tc-locations__heading p { font-size: 11px; }
  .tc-section__script { margin-bottom: 9px; font-size: 42px; }
  .tc-steps { gap: 10px; }
  .tc-step { min-height: 206px; padding: 18px 14px; border-radius: 16px; }
  .tc-step__number { top: 17px; right: 15px; font-size: 11px; }
  .tc-step__icon { width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; }
  .tc-step__icon i { font-size: 20px; }
  .tc-step__title { font-size: 13px; }
  .tc-step__text { margin-top: 7px; font-size: 9px; }
  .tc-loyalty { grid-template-columns: 1fr; gap: 36px; padding: 72px 24px; }
  .tc-loyalty__copy > .tc-script { margin-top: 12px; font-size: 40px; }
  .tc-loyalty-card { width: 100%; padding: 24px; transform: none; }
  .tc-loyalty-card h3 { font-size: 28px; }
  .tc-stamps { gap: 9px; margin: 22px 0 20px; }
  .tc-stamps i { font-size: 14px; }
  .tc-locations { padding: 72px 18px 78px; }
  .tc-locations__heading { margin-bottom: 30px; }
  .tc-locations__heading > .tc-script { font-size: 40px; }
  .tc-stores { grid-template-columns: 1fr; gap: 10px; }
  .tc-storecard { min-height: 0; padding: 20px; }
  .tc-storecard__mark { width: 40px; height: 40px; margin-bottom: 14px; }
  .tc-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 22px; }
  .tc-help__btn { right: 16px; bottom: 16px; }
  .tc-help__panel { right: 16px; bottom: 78px; }
  .tc-credit--dark { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
