/* Taste match: where shared taste-match cards land. Same frame as Support. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page-wrap { max-width: 1000px; margin: 0 auto; padding: 96px 2rem 36px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 1.02; margin: .75rem 0 1.5rem; }
h2 { font-size: 2rem; line-height: 1.15; }

.tm-opening { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5rem; align-items: center; padding: 4.5rem 0 4rem; }
.hero-lede { font-size: 1rem; color: var(--text-secondary); max-width: 44ch; line-height: 1.75; }
.tm-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.tm-actions .btn { min-height: 44px; white-space: nowrap; }
.tm-link { font-size: .85rem; padding: .6rem 0; }

/* A small static example of the result. */
.tm-sample {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 2rem 1.75rem 1.5rem;
  border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--surface);
  text-align: center;
}
.tm-pair { display: flex; margin-bottom: .5rem; }
.tm-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.1rem; color: var(--ink);
  border: 3px solid var(--surface);
}
.tm-avatar--me { background: var(--fill); }
.tm-avatar--them { background: var(--sage); margin-left: -12px; }
.tm-pair-line { font-size: .9rem; font-weight: 600; }
.tm-number { font-family: var(--display); font-size: 5rem; line-height: 1; letter-spacing: -.03em; }
.tm-caption { font-size: .8rem; color: var(--text-secondary); }
.tm-bars { width: 100%; display: flex; flex-direction: column; gap: .4rem; margin-top: 1.25rem; }
.tm-bar { display: block; height: 8px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.tm-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--fill); }
.tm-bar--them > span { background: var(--sage); }
.tm-sample figcaption { margin-top: 1rem; font-size: .7rem; color: var(--text-secondary); }

.tm-section { margin: 2rem 0 3rem; }
.tm-section > h2 { margin-bottom: 1.5rem; }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 3rem; }
.tm-item { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.tm-item dt { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.tm-item dd { font-size: .82rem; color: var(--text-secondary); line-height: 1.7; }

.tm-privacy { margin: 3rem 0 0; padding: 2rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); }
.tm-privacy h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.tm-privacy p { font-size: .9rem; color: var(--text-secondary); max-width: 72ch; }
.tm-privacy p + p { margin-top: .8rem; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--bg); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-footer { margin-top: 5rem; }

@media (max-width: 900px) {
  .tm-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-wrap { padding: 88px 1.5rem 24px; }
  .tm-opening { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 0 3rem; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .tm-grid { grid-template-columns: 1fr; }
  .tm-privacy { padding: 1.5rem; }
  .site-footer { margin-top: 3rem; }
}
