/* Silver Coffee design tokens. Values from COMPANY.md, sections "Look" and "Site v2". */
:root {
  --ground: #CECFD6;
  --page: #E4E5EA;
  --ink: #1B1B1D;
  --accent: #F2FF3B;
  --card: #F6F6F6;
  --muted: #6E6E72;
  --white: #FFFFFF;
  --dark-card: #262628;
  --on-ink: #B4B4BA;
  --on-ink-muted: #9A9AA0;
  --hairline: rgba(27, 27, 29, 0.2);
  --hairline-ink: rgba(255, 255, 255, 0.2);

  --font-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-dot: 'Doto', ui-monospace, monospace;

  --column: 1296px;
  --gutter: clamp(24px, 5vw, 72px);
  --section-pad: clamp(64px, 8.4vw, 120px);
  --nav-h: 104px;

  --radius-card: 24px;
  --card-pad: clamp(24px, 2.8vw, 40px);
  --btn-h: 60px;

  --fs-head: clamp(36px, 4.2vw, 60px);
  --fs-body: clamp(17px, 1.4vw, 20px);
  --tracking: -0.025em;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@media (max-width: 700px) { :root { --nav-h: 72px; --btn-h: 56px; --radius-card: 20px; } }
/* Silver Coffee site styles, site v2. Tokens live in tokens.css. */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html.still { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
/* Headlines are always Inter Tight Regular. */
h1, h2, h3 { font-weight: 400; letter-spacing: var(--tracking); line-height: 1.08; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--accent); padding: 12px 20px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

/* Layout */
.column {
  width: 100%;
  max-width: calc(var(--column) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }
.section--tight { padding-top: 0; }
.section--light { background: var(--card); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink + .section--ink { padding-top: 0; }
.section--ink + .section--tight, .section--light + .section--tight, .marquee + .section--tight { padding-top: var(--section-pad); }
.section-gap { height: var(--section-pad); }
.center { text-align: center; }

/* Type */
.dot { font-family: var(--font-dot); font-weight: 900; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.label { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.fine { font-size: 15px; }
.plain-list { display: flex; flex-direction: column; gap: 10px; }
.text-link { font-size: 16px; text-underline-offset: 4px; }

.head { text-align: center; margin-bottom: clamp(36px, 4.5vw, 64px); }
.head h1, .head h2 { font-size: var(--fs-head); }
.head p { color: var(--muted); max-width: 640px; margin: 22px auto 0; }
.section--ink .head p { color: var(--on-ink); }

.more { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; text-decoration: none; }
a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
[dir='rtl'] .arrow { scale: -1 1; }

.square { display: inline-block; width: 8px; height: 8px; background: currentColor; }
.live-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn-h); padding-inline: 32px; border-radius: 999px; border: 1px solid var(--ink);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn--primary { background: var(--ink); color: var(--accent); }
.btn--secondary { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards and tags */
.card { background: var(--card); border-radius: var(--radius-card); padding: var(--card-pad); }
.card--page { background: var(--page); }
.card--ink { background: var(--ink); color: var(--white); }
.card--dark { background: var(--dark-card); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.12); }
.tag {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--page);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.tag--ink { background: var(--ink); color: var(--accent); }
.tag--accent { background: var(--accent); color: var(--ink); border-radius: 6px; }
.tag--ghost { background: rgba(255, 255, 255, 0.12); color: var(--white); border-radius: 6px; }
.photo { border-radius: var(--radius-card); object-fit: cover; width: 100%; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 15px; border-top: 1px solid var(--hairline); font-size: 16px; }
.rows > div:last-child { border-bottom: 1px solid var(--hairline); }

/* Announcement and nav */
.announce { background: var(--ground); text-align: center; padding: 16px var(--gutter); }
.announce a { text-underline-offset: 3px; }
.site-nav { background: var(--accent); }
.site-nav__inner { display: flex; align-items: center; gap: 56px; height: var(--nav-h); }
.site-nav__logo { display: block; flex: none; }
.site-nav__logo img { width: 35px; height: 49px; }
.site-nav__links { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.site-nav__links ul { display: flex; gap: 40px; }
.site-nav__links a { text-decoration: none; }
.site-nav__links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 6px; transition: background-size 0.3s var(--ease-out), color 0.2s var(--ease-out); }
.site-nav__links a[aria-current='page'] { background-size: 100% 1px; }
.site-nav__toggle { display: none; background: none; border: 0; padding: 12px 0; cursor: pointer; margin-inline-start: auto; }
@media (max-width: 900px) {
  .site-nav__inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); gap: 0; }
  .site-nav__toggle { display: block; }
  .site-nav__links { display: none; }
  body.menu-open { overflow: hidden; }
  .site-nav.is-open { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--white); overflow-y: auto; }
  .site-nav.is-open .site-nav__inner { min-height: 100%; align-content: flex-start; }
  .site-nav.is-open .site-nav__logo, .site-nav.is-open .site-nav__toggle { height: var(--nav-h); display: flex; align-items: center; }
  .site-nav.is-open .site-nav__toggle { color: var(--accent); }
  .site-nav.is-open .site-nav__links { display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 40px; padding-block: 16px 32px; min-height: calc(100vh - var(--nav-h)); min-height: calc(100dvh - var(--nav-h)); }
  .site-nav.is-open .site-nav__links ul { flex-direction: column; gap: 0; border-bottom: 1px solid var(--hairline-ink); }
  .site-nav.is-open .site-nav__links li a {
    display: flex; align-items: center; justify-content: space-between; padding-block: 18px; border-top: 1px solid var(--hairline-ink);
    font-size: clamp(34px, 10vw, 44px); font-weight: 400; letter-spacing: var(--tracking); text-transform: none; line-height: 1.1; background: none;
  }
  .site-nav.is-open .site-nav__links { justify-content: space-between; }
  .site-nav.is-open .site-nav__links li a::after { content: ''; width: 10px; height: 10px; background: var(--hairline-ink); }
  .site-nav.is-open .site-nav__links li a[aria-current='page'] { color: var(--accent); text-decoration: none; }
  .site-nav.is-open .site-nav__links li a[aria-current='page']::after { background: var(--accent); }
  .site-nav.is-open .site-nav__cta {
    padding-bottom: 0; transition: transform 0.16s var(--ease-out);
    display: flex; align-items: center; justify-content: center; height: var(--btn-h); border-radius: 999px;
    background: var(--accent); color: var(--ink); font-size: 14px; text-decoration: none;
  }
}

/* Hero */
.hero { background: var(--accent); padding-bottom: clamp(48px, 5vw, 72px); }
.wordmark-xl { font-family: var(--font-dot); font-weight: 900; line-height: 1; white-space: nowrap; overflow: hidden; }
/* Doto is 0.6 em per letter, so the font size is set from the letter count (--n) to fill the column. */
.wordmark-xl { font-size: min(240px, calc(min(100vw - 2 * var(--gutter), var(--column)) / (var(--n) * 0.602))); }
@media (max-width: 700px) {
  .wordmark-xl { padding-top: 28px; }
  .wordmark-xl--split { font-size: calc((100vw - 2 * var(--gutter)) / (var(--m) * 0.602)); line-height: 0.92; }
  .wordmark-xl--split span { display: block; }
}
.hero__body { display: grid; grid-template-columns: 560fr 620fr; gap: clamp(32px, 8vw, 116px); align-items: center; padding-top: clamp(40px, 6.6vw, 96px); }
.hero__bean { position: relative; justify-self: center; width: min(351px, 62vw); }
.hero__badge {
  position: absolute; top: 0; inset-inline-end: -18px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--ink); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 9px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; text-align: center; line-height: 1.1;
}
.hero__badge .dot { font-size: 34px; }
.hero__title { font-size: clamp(33px, 3.65vw, 52px); }
.hero__lines { display: flex; flex-direction: column; margin-block: 36px 56px; line-height: 1.35; }
.hero__cafes { padding-top: clamp(48px, 6vw, 88px); font-size: 17px; }
.hero__cafes ul { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; margin-top: 28px; }
.hero__split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding-top: clamp(36px, 5vw, 72px); }
.hero__split .hero__title { max-width: 700px; flex: 1 1 420px; }
.hero__aside { display: flex; flex-direction: column; gap: 24px; flex: 0 1 480px; }
.hero__date { font-size: 28px; white-space: nowrap; }
@media (max-width: 800px) {
  .hero__body { grid-template-columns: 1fr; }
  .hero__lines { margin-block: 24px 32px; }
  .hero__text .btn { width: 100%; }
  .hero__cafes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .hero__cafes li:nth-child(even) { justify-self: end; }
}

/* Promise */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3.3vw, 48px); margin-bottom: clamp(40px, 4.5vw, 64px); }
.facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.facts h3 { font-size: 26px; margin-top: 6px; }
.facts p { font-size: 17px; }
.facts__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--card); display: grid; place-items: center; }
.photo--wide { position: relative; border-radius: var(--radius-card); overflow: hidden; }
.photo--wide img { width: 100%; aspect-ratio: 1296 / 680; object-fit: cover; }
.roast-chip {
  position: absolute; inset-inline-start: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--white); border-radius: 18px; padding: 14px 22px;
}
.roast-chip .dot { font-size: 30px; color: var(--accent); }
@media (max-width: 1000px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .facts li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; }
  .facts__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 3; }
  .facts h3 { font-size: 20px; margin: 0; }
  .facts p, .facts .more { font-size: 15px; }
  .photo--wide img { aspect-ratio: 342 / 280; }
  .roast-chip { padding: 10px 14px; gap: 10px; border-radius: 14px; }
  .roast-chip .dot { font-size: 24px; }
  .roast-chip .label { font-size: 11px; }
}

/* Coffee */
.coffee-row { display: grid; grid-template-columns: minmax(0, 420fr) minmax(0, 856fr); gap: 20px; }
.coffee-row__photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.coffee-table { padding-block: 16px 24px; }
.coffee-table__head, .coffee-card { display: grid; grid-template-columns: 270fr 316fr 130fr 80px; gap: 16px; align-items: center; }
.coffee-table__head { height: 56px; font-size: 15px; }
.coffee-table__head span:last-child, .coffee-card__price { text-align: end; }
.coffee-card { min-height: 80px; padding-block: 12px; border-top: 1px solid var(--hairline); }
.coffee-card__name { font-size: 24px; }
.coffee-card__notes, .coffee-card__roast { font-size: 16px; }
.coffee-card__price { font-size: 32px; }
@media (max-width: 1000px) {
  .coffee-row { grid-template-columns: 1fr; }
  .coffee-row__photo { height: auto; aspect-ratio: 342 / 300; }
}
@media (max-width: 700px) {
  .coffee-table { padding-block: 6px; }
  .coffee-table__head { display: none; }
  .coffee-card { grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 16px; }
  .coffee-card:first-child { border-top: 0; }
  .coffee-card__name { font-size: 20px; }
  .coffee-card__notes, .coffee-card__roast { font-size: 14px; grid-column: 1; }
  .coffee-card__roast { color: var(--muted); }
  .coffee-card__price { font-size: 28px; grid-column: 2; grid-row: 1 / span 3; }
}

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan-card { display: flex; flex-direction: column; gap: 28px; transition: background-color 0.25s var(--ease-out); }
.section--light .plan-card:not(.plan-card--featured) { background: var(--page); }
.plan-card--featured { background: var(--accent); }
.plan-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan-card__name { font-size: 26px; }
.plan-card__price { display: flex; align-items: flex-end; gap: 12px; }
.plan-card__price .dot { font-size: clamp(72px, 7.2vw, 104px); }
.plan-card__per { font-size: 16px; color: var(--muted); padding-bottom: 14px; }
.plan-card--featured .plan-card__per { color: var(--ink); }
.plan-card__list li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-block: 10px; border-top: 1px solid var(--hairline); font-size: 16px; }
.plan-card--featured .plan-card__list li { border-color: rgba(27, 27, 29, 0.3); }
@media (max-width: 1000px) { .plans-grid { grid-template-columns: 1fr; gap: 12px; } .plan-card { gap: 16px; } }

/* Marquee */
.marquee { height: 72px; background: var(--accent); overflow: hidden; white-space: nowrap; direction: ltr; }
.marquee__track { display: flex; align-items: center; width: max-content; height: 100%; }
.marquee li { display: flex; align-items: center; gap: 12px; flex: none; font-size: 14px; padding-inline-end: 72px; }
.marquee__chip { background: var(--ink); color: var(--accent); padding: 5px 10px; border-radius: 6px; }
@media (max-width: 700px) { .marquee { height: 56px; } .marquee li { font-size: 11px; padding-inline-end: 36px; } }

/* Delivery */
.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps li { display: flex; gap: 16px; padding-block: 32px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.steps__n { font-size: 28px; color: var(--accent); width: 80px; flex: none; padding-top: 4px; }
.steps h3 { font-size: 28px; margin-bottom: 12px; }
.steps p { font-size: 18px; color: var(--on-ink); }
.route-card { padding: 0; overflow: hidden; }
.route-card img { width: 100%; aspect-ratio: 620 / 350; object-fit: cover; }
.route-card ul { padding: 8px 32px 12px; }
.route-card li { display: flex; align-items: flex-start; gap: 20px; padding-block: 22px; font-size: 18px; }
.route-card li + li { border-top: 1px solid var(--hairline-ink); }
.route-card__who { font-size: 15px; color: var(--on-ink-muted); margin-top: 4px; }
@media (max-width: 1000px) {
  .delivery { grid-template-columns: 1fr; }
  .route-card { order: -1; }
}
@media (max-width: 700px) {
  .steps li { padding-block: 20px; }
  .steps__n { font-size: 24px; width: 40px; }
  .steps h3 { font-size: 20px; margin-bottom: 6px; }
  .steps p { font-size: 15px; }
  .route-card ul { padding: 4px 20px 8px; }
  .route-card li { font-size: 16px; }
  .route-card .tag { display: none; }
}

/* Reviews and stats */
.stats { display: grid; margin-bottom: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 36px; min-height: 260px; }
.stat dt { font-size: 16px; color: var(--on-ink-muted); margin-bottom: 14px; }
.stat dd { display: flex; flex-direction: column; gap: 14px; }
.stat .dot { font-size: clamp(56px, 5.8vw, 84px); color: var(--accent); }
.stat__label { font-size: 17px; color: var(--on-ink); }
.featured-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); padding: 0; overflow: hidden; margin-block: 0 clamp(32px, 4.5vw, 64px); grid-template-rows: 440px; }
.featured-review__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 3.9vw, 56px); }
.featured-review__place { font-size: 22px; color: var(--on-ink-muted); letter-spacing: var(--tracking); }
.featured-review blockquote { font-size: clamp(24px, 2.65vw, 38px); letter-spacing: var(--tracking); line-height: 1.1; quotes: '\201C' '\201D'; }
.featured-review blockquote p::before { content: open-quote; }
.featured-review blockquote p::after { content: close-quote; }
.featured-review figcaption { display: flex; flex-direction: column; gap: 20px; font-size: 17px; }
.featured-review figcaption span, .featured-review .more { color: var(--on-ink-muted); }
.featured-review img { width: 100%; height: 100%; object-fit: cover; }
.review-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.review-card { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline-ink); }
.review-card__place { font-size: 24px; letter-spacing: var(--tracking); }
.review-card__place::first-letter, .featured-review__place::first-letter { text-transform: uppercase; }
.review-card__quote { font-size: 18px; color: var(--on-ink); flex: 1; quotes: '\201C' '\201D'; }
.review-card__quote p::before { content: open-quote; }
.review-card__quote p::after { content: close-quote; }
.review-card__who { font-size: 15px; color: var(--on-ink-muted); padding-top: 24px; }
@media (max-width: 1000px) {
  .featured-review { grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-review img { order: -1; aspect-ratio: 342 / 200; }
  .review-cols { grid-template-columns: 1fr; gap: 24px; }
  .review-card__who { padding-top: 0; }
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stat { min-height: 0; padding: 20px; border-radius: 18px; }
  .stat dt { display: none; }
  .stat dd { flex-direction: row; align-items: center; gap: 16px; }
  .stat .dot { font-size: 48px; width: 150px; flex: none; }
  .stat__label { font-size: 14px; }
}

/* People */
.people-grid { display: grid; gap: 20px; }
.people-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 48px; }
.people-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.person-card__photo { transition: transform 0.6s var(--ease-out); width: 100%; aspect-ratio: 309 / 330; object-fit: cover; object-position: center 12%; }
.people-grid--3 .person-card__photo { aspect-ratio: 419 / 440; }
.person-card__text { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.person-card__name { font-size: 24px; }
.person-card__role, .person-card__line { font-size: 15px; }
@media (max-width: 1000px) { .people-grid--4, .people-grid--3 { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 700px) {
  .person-card__text { padding: 14px; gap: 4px; }
  .person-card__name { font-size: 18px; }
  .person-card__role { font-size: 13px; }
  .person-card__line { display: none; }
  .people-grid--4 { margin-bottom: 32px; }
  .people .btn, #people .btn { width: 100%; }
}

/* Visit */
.visit__card { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); padding: 0; overflow: hidden; }
.visit__text { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3.9vw, 56px); font-size: 19px; }
.visit__title { font-size: clamp(30px, 3.4vw, 48px); }
.visit__address { display: flex; flex-direction: column; }
.visit__image { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .visit__card { grid-template-columns: 1fr; }
  .visit__image { order: -1; aspect-ratio: 342 / 230; }
}
@media (max-width: 700px) { .visit .btn { width: 100%; } .visit__text { font-size: 16px; gap: 20px; } }

/* Closing call to action */
.cta { background: var(--card); padding-block: clamp(64px, 9vw, 128px); text-align: center; }
.cta h2 { font-size: clamp(36px, 3.9vw, 56px); }
.cta__form {
  display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 36px auto; padding: 8px; padding-inline-start: 28px;
  background: var(--white); border: 1px solid rgba(27, 27, 29, 0.15); border-radius: 20px;
}
.cta__form input { flex: 1; min-width: 0; height: 60px; border: 0; background: none; font-size: 18px; outline: none; }
.cta__form input::placeholder { color: var(--muted); }
.cta__form { transition: border-color 0.2s var(--ease-out); }
.cta__form:focus-within { border-color: var(--ink); }
.cta__form button:active { transform: scale(0.97); }
.cta__form button { transition: transform 0.16s var(--ease-out); height: 60px; padding-inline: 28px; border: 0; border-radius: 14px; background: var(--accent); font-size: 17px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.cta__note { font-size: 15px; }
@media (max-width: 700px) {
  .cta__form { flex-direction: column; align-items: stretch; background: none; border: 0; padding: 0; margin-block: 20px; }
  .cta__form input { height: 56px; background: var(--white); border: 1px solid rgba(27, 27, 29, 0.15); border-radius: 16px; padding-inline: 18px; font-size: 16px; }
  .cta__form button { height: 56px; font-size: 16px; }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding-block: clamp(56px, 6.7vw, 96px) 48px; font-size: 16px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 48px; padding-bottom: 64px; border-bottom: 1px solid var(--hairline-ink); }
.site-footer__label { font-size: 16px; margin-bottom: 12px; letter-spacing: 0; line-height: 1.4; }
.site-footer .plain-list { color: var(--on-ink-muted); }
.site-footer a { text-decoration: none; }
.site-footer a { transition: color 0.2s var(--ease-out); }
.site-footer a:hover { color: var(--white); }
.site-footer__wordmark { font-family: var(--font-dot); font-weight: 900; line-height: 1; white-space: nowrap; overflow: hidden; color: var(--accent); font-size: calc(min(100vw - 2 * var(--gutter), var(--column)) / 7.83); padding-block: 64px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 15px; color: var(--on-ink-muted); }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__langs a[aria-current='true'] { color: var(--white); }
.site-footer__release { font-size: 13px; }
@media (max-width: 1000px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .site-footer { font-size: 14px; }
  .site-footer__cols { padding-bottom: 36px; }
  .site-footer__wordmark { font-size: calc((100vw - 2 * var(--gutter)) / 3.62); line-height: 0.92; padding-block: 36px; }
  .site-footer__wordmark span { display: block; }
}

/* Subscribe: compare table and questions */
.compare { padding-block: 16px 24px; margin-top: 12px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 17px; text-align: start; }
.compare th, .compare td { padding: 20px 16px 20px 0; text-align: start; font-weight: 400; }
.compare thead th { font-size: 22px; letter-spacing: var(--tracking); }
.compare thead th:first-child { font-size: 15px; letter-spacing: 0; }
.compare tbody tr { border-top: 1px solid var(--hairline); }
.compare tbody th { color: var(--muted); }
.compare td, .compare thead th:not(:first-child) { width: 18%; min-width: 130px; }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }
.compare + .fine { margin-top: 24px; color: var(--muted); }
.faq__title { font-size: var(--fs-head); margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--ink); padding-block: 28px; }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 26px; letter-spacing: var(--tracking); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 12px; flex: none; }
.faq__toggle svg { transition: transform 0.25s var(--ease-out); }
.faq details[open] .faq__toggle svg { transform: rotate(180deg); }
.faq details p { max-width: 640px; margin-top: 12px; font-size: 18px; }
@media (max-width: 700px) {
  .faq summary { font-size: 20px; }
  .faq details { padding-block: 20px; }
  .compare table { font-size: 13px; table-layout: fixed; }
  .compare th, .compare td { padding: 12px 8px 12px 0; overflow-wrap: anywhere; }
  .compare thead th { font-size: 15px; }
  .compare thead th:first-child { font-size: 12px; }
  .compare td, .compare thead th:not(:first-child) { width: 22%; min-width: 0; }
}

/* About */
.promise-row { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 20px; min-height: 520px; }
.promise-48 { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; font-size: 17px; color: var(--on-ink-muted); }
.promise-48 p:last-child { display: flex; flex-direction: column; gap: 8px; font-size: 18px; color: var(--on-ink); }
.promise-48 .dot { font-size: clamp(160px, 18vw, 260px); color: var(--accent); }
.promise-row .photo { height: 100%; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.values li { display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 16px; min-height: 250px; padding: 36px; }
.values h3 { font-size: 32px; }
.values .dot { font-size: 32px; }
.values p { grid-column: 1 / -1; max-width: 400px; font-size: 18px; }
#numbers .featured-review { margin-bottom: 0; }
@media (max-width: 900px) {
  .promise-row { grid-template-columns: 1fr; min-height: 0; }
  .promise-row .photo { aspect-ratio: 3 / 2; }
  .values { grid-template-columns: 1fr; gap: 12px; }
  .values li { min-height: 180px; padding: 24px; }
  .values h3 { font-size: 24px; }
}

/* Coffee and wholesale pages */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; }
.callout h2 { font-size: 32px; margin-bottom: 10px; }
.callout p { max-width: 520px; font-size: 18px; }
.accounts { columns: 3 240px; column-gap: 48px; font-size: 17px; }
.accounts li { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--hairline); break-inside: avoid; }

/* Signup */
.signup { padding-block: 48px clamp(56px, 6vw, 88px); }
.signup__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.signup__head h1 { font-size: var(--fs-head); }
.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.signup-steps { display: flex; gap: 8px; padding-bottom: 14px; }
.signup-steps li { width: 72px; height: 6px; border-radius: 3px; background: rgba(27, 27, 29, 0.2); transition: background-color 0.3s var(--ease-out); }
.signup-steps li.is-done { background: var(--ink); }
.signup .plan-card { gap: 22px; }
.signup .plan-card__price .dot { font-size: clamp(72px, 6.4vw, 92px); }
.signup__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; font-size: 18px; }
.signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4.4vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.field input { transition: border-color 0.2s var(--ease-out); height: 54px; padding-inline: 18px; border: 1px solid rgba(27, 27, 29, 0.15); border-radius: 14px; background: var(--card); font-size: 17px; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); }
.field small { font-size: 13px; }
.plan-summary .plan-card__list li { border-color: rgba(27, 27, 29, 0.3); }
.done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 20px; }
.done__card { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 480px; }
.done__date { font-size: clamp(56px, 7.8vw, 112px); margin-top: 14px; }
.done__small { font-size: 26px; white-space: nowrap; }
.done__text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.done__text .actions { margin-top: 12px; }
.done__bean { background: var(--accent); display: grid; place-items: center; }
.done__bean img { width: min(250px, 60%); }
@media (max-width: 900px) {
  .signup__grid, .done { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .done__card { min-height: 0; }
  .done__bean { padding-block: 32px; }
  .signup__foot .btn { width: 100%; }
}

/* Motion. Everything here runs only when the visitor has not asked for reduced motion (html.motion is set in main.jsx).
   Only transform, opacity and clip-path are animated. Entrances ease out and stay under a second. */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #000; }
  .btn--secondary:hover { background: var(--ink); color: var(--accent); }
  .site-nav__links a:hover { background-size: 100% 1px; }
  .site-nav.is-open .site-nav__links li a:hover { color: var(--accent); }
  .more .arrow { transition: translate 0.25s var(--ease-out); }
  a.more:hover .arrow { translate: 3px 0; }
  [dir='rtl'] a.more:hover .arrow { translate: -3px 0; }
  .person-card:hover .person-card__photo { transform: scale(1.03); }
  .cta__form button:hover { filter: brightness(0.96); }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-small { from { opacity: 0; transform: translateY(8px); } }
@keyframes bean-in { from { opacity: 0; transform: translateY(28px) scale(0.96); } }
@keyframes badge-in { from { opacity: 0; transform: scale(0.8) rotate(-12deg); } }
@keyframes wipe-up { from { clip-path: inset(100% 0 0 0); transform: translateY(12%); } to { clip-path: inset(0); } }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(242, 255, 59, 0.55); } to { box-shadow: 0 0 0 9px rgba(242, 255, 59, 0); } }

.motion .wordmark-xl span { display: inline-block; white-space: pre; animation: wipe-up 0.8s var(--ease-out) both; }
.motion .wordmark-xl span:nth-child(2) { animation-delay: 0.07s; }
.motion .hero__bean img { animation: bean-in 0.9s var(--ease-out) 0.12s both; }
.motion .hero__badge { animation: badge-in 0.5s var(--ease-out) 0.55s both; }
.motion .hero__title { animation: rise 0.7s var(--ease-out) 0.22s both; }
.motion .hero__lines, .motion .hero__aside { animation: rise 0.7s var(--ease-out) 0.3s both; }
.motion .hero__text .btn { animation: rise 0.7s var(--ease-out) 0.38s both; }
.motion .hero__cafes { animation: rise 0.7s var(--ease-out) 0.5s both; }
.motion .signup__head { animation: rise 0.6s var(--ease-out) both; }
@media (max-width: 700px) { .motion .wordmark-xl--split span { display: block; } }

.motion [data-reveal='out'] { opacity: 0; transform: translateY(16px); }
.motion [data-reveal='in'] { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }

.motion .marquee__track { animation: marquee 48s linear infinite; }
.motion .live-dot { animation: pulse 1.8s var(--ease-out) infinite; }

@media (max-width: 900px) {
  .motion .site-nav.is-open { animation: menu-in 0.35s var(--ease-out); }
  .motion .site-nav.is-open .site-nav__links li, .motion .site-nav.is-open .site-nav__cta { animation: rise-small 0.4s var(--ease-out) both; }
  .motion .site-nav.is-open .site-nav__links li:nth-child(1) { animation-delay: 0.08s; }
  .motion .site-nav.is-open .site-nav__links li:nth-child(2) { animation-delay: 0.12s; }
  .motion .site-nav.is-open .site-nav__links li:nth-child(3) { animation-delay: 0.16s; }
  .motion .site-nav.is-open .site-nav__links li:nth-child(4) { animation-delay: 0.2s; }
  .motion .site-nav.is-open .site-nav__links li:nth-child(5) { animation-delay: 0.24s; }
  .motion .site-nav.is-open .site-nav__cta { animation-delay: 0.3s; }
  .site-nav.is-open .site-nav__cta:active { transform: scale(0.97); }
}

@supports (interpolate-size: allow-keywords) {
  .motion .faq { interpolate-size: allow-keywords; }
  .motion .faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height 0.3s var(--ease-out), opacity 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
  .motion .faq details[open]::details-content { height: auto; opacity: 1; }
}
