/* RoastLists — site.css
   Design intent:
   - Clean, scannable, mobile-first. Coffee-themed but not cliché.
   - System font stack for speed. No webfonts on V1.
   - Light off-white background, dark roast brown accents, citrus accent for CTAs.
*/

:root {
  --rl-bg:        #faf7f2;
  --rl-bg-soft:   #f3eee5;
  --rl-fg:        #1f1a14;
  --rl-fg-soft:   #5b5247;
  --rl-fg-muted:  #847a6d;
  --rl-line:      #e7dfd2;
  --rl-line-soft: #f0eadc;
  --rl-brand:     #4a2a18;   /* dark roast */
  --rl-brand-2:   #7a4827;   /* mid roast */
  --rl-accent:    #c25d20;   /* citrus */
  --rl-accent-soft:#f0d9c6;
  --rl-success:   #2f6f3a;
  --rl-error:     #a93737;
  --rl-shadow:    0 1px 2px rgba(31,26,20,.05), 0 1px 6px rgba(31,26,20,.04);
  --rl-radius:    6px;
  --rl-radius-lg: 10px;
  --rl-max:       1140px;
  --rl-pad:       20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rl-bg);
  color: var(--rl-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--rl-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--rl-accent); }

h1, h2, h3, h4 {
  font-family: Georgia, "Iowan Old Style", "Charter", "Source Serif Pro", serif;
  color: var(--rl-fg);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--rl-fg-muted); }

p { margin: 0 0 1em; }

.rl-container {
  max-width: var(--rl-max);
  margin: 0 auto;
  padding: 0 var(--rl-pad);
}
.rl-mt { margin-top: 2.5em; }

.rl-skip {
  position: absolute; left: -10000px; top: auto;
}
.rl-skip:focus { left: 12px; top: 8px; background: #fff; padding: 6px 12px; border-radius: 4px; z-index: 999; }

/* ------ header ------ */
.rl-header {
  background: #fff;
  border-bottom: 1px solid var(--rl-line);
  position: sticky; top: 0; z-index: 50;
}
.rl-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.rl-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: var(--rl-brand);
  font-family: Georgia, serif;
  letter-spacing: -.01em;
}
.rl-brand-mark {
  color: var(--rl-accent);
  font-size: 22px;
  line-height: 1;
}
.rl-nav {
  display: flex; gap: 18px; align-items: center;
  flex: 1;
}
.rl-nav a {
  text-decoration: none;
  color: var(--rl-fg-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.rl-nav a:hover { color: var(--rl-brand); }
.rl-nav-cta {
  background: var(--rl-accent);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: var(--rl-radius);
  margin-left: auto;
}
.rl-nav-cta:hover { background: #a14a17; }

.rl-search {
  display: flex;
  background: var(--rl-bg-soft);
  border-radius: var(--rl-radius);
  overflow: hidden;
}
.rl-search input {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font: inherit;
  width: 200px;
  color: var(--rl-fg);
}
.rl-search input:focus { outline: 0; }
.rl-search button {
  border: 0;
  background: var(--rl-brand);
  color: #fff;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.rl-search button:hover { background: var(--rl-brand-2); }

@media (max-width: 720px) {
  .rl-header-inner { gap: 12px; }
  .rl-nav { width: 100%; order: 3; gap: 14px; }
  .rl-nav-cta { margin-left: auto; }
  .rl-search { display: none; }
}

/* ------ hero ------ */
.rl-hero {
  background: linear-gradient(180deg, #fff 0%, var(--rl-bg) 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--rl-line);
}
.rl-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  max-width: 720px;
}
.rl-hero-sub {
  font-size: 18px;
  color: var(--rl-fg-soft);
  max-width: 640px;
  margin-bottom: 28px;
}
.rl-hero-search {
  display: flex; gap: 8px;
  max-width: 580px;
  margin-bottom: 12px;
}
.rl-hero-search input {
  flex: 1;
  border: 1px solid var(--rl-line);
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  font-size: 17px;
  border-radius: var(--rl-radius);
}
.rl-hero-search input:focus {
  outline: 0;
  border-color: var(--rl-accent);
  box-shadow: 0 0 0 3px var(--rl-accent-soft);
}
.rl-hero-search button {
  background: var(--rl-brand);
  color: #fff;
  border: 0;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--rl-radius);
  cursor: pointer;
}
.rl-hero-search button:hover { background: var(--rl-brand-2); }
.rl-hero-meta {
  font-size: 14.5px;
  color: var(--rl-fg-muted);
}
.rl-hero-meta a { color: var(--rl-fg-soft); }
.rl-dot { margin: 0 8px; color: var(--rl-fg-muted); }

/* ------ generic page header ------ */
.rl-page-header {
  background: #fff;
  border-bottom: 1px solid var(--rl-line);
  padding: 36px 0 30px;
}
.rl-page-header h1 { margin-bottom: 8px; }
.rl-page-sub { color: var(--rl-fg-soft); margin: 0; }
.rl-breadcrumbs {
  color: var(--rl-fg-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.rl-breadcrumbs a {
  color: var(--rl-fg-muted);
  text-decoration: none;
}
.rl-breadcrumbs a:hover { color: var(--rl-brand); text-decoration: underline; }

/* ------ section + grid ------ */
.rl-section {
  padding: 50px 0;
}
.rl-section-featured { background: var(--rl-bg); }
.rl-section-pitch    { background: #fff; border-block: 1px solid var(--rl-line); }
.rl-section-states   { background: var(--rl-bg); }
.rl-section-sub      { color: var(--rl-fg-muted); margin: -6px 0 24px; }

.rl-grid-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.rl-card {
  background: #fff;
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius-lg);
  padding: 18px 20px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.rl-card:hover { transform: translateY(-1px); box-shadow: var(--rl-shadow); }
.rl-card-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-family: Georgia, serif;
}
.rl-card-title a { color: var(--rl-fg); text-decoration: none; }
.rl-card-title a:hover { color: var(--rl-brand); text-decoration: underline; }
.rl-card-meta {
  color: var(--rl-fg-muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.rl-card-blurb {
  color: var(--rl-fg-soft);
  font-size: 14.5px;
  margin: 0 0 10px;
}
.rl-card-actions {
  margin: 0;
  display: flex;
  gap: 14px;
  font-size: 14px;
}
.rl-card-link { color: var(--rl-brand); }
.rl-card-ext  { color: var(--rl-fg-muted); }

/* ------ state list ------ */
.rl-state-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.rl-state-grid a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius);
  text-decoration: none;
  color: var(--rl-fg);
}
.rl-state-grid a:hover {
  border-color: var(--rl-accent);
  background: #fff;
}
.rl-state-name { font-weight: 500; }
.rl-state-count {
  color: var(--rl-fg-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.rl-state-grid-lg a {
  padding: 14px 18px;
}
.rl-state-grid-lg .rl-state-name { font-size: 17px; }

/* ------ pitch section ------ */
.rl-pitch-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .rl-pitch-grid { grid-template-columns: 1fr; gap: 24px; }
}
.rl-pitch-list { padding-left: 18px; }
.rl-pitch-list li { margin-bottom: 6px; }

/* ------ buttons ------ */
.rl-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--rl-radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.rl-btn-primary { background: var(--rl-brand); color: #fff; }
.rl-btn-primary:hover { background: var(--rl-brand-2); color: #fff; }
.rl-btn-text {
  background: transparent;
  color: var(--rl-brand);
  padding-inline: 0;
}
.rl-btn-text:hover { color: var(--rl-accent); }

/* ------ profile page ------ */
.rl-profile-header {
  background: #fff;
  border-bottom: 1px solid var(--rl-line);
  padding: 40px 0 28px;
}
.rl-profile-loc {
  color: var(--rl-fg-soft);
  font-size: 17px;
  margin: 4px 0 0;
}
.rl-profile-body {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 320px;
  padding-top: 28px;
  padding-bottom: 60px;
}
@media (max-width: 880px) {
  .rl-profile-body { grid-template-columns: 1fr; }
}
.rl-profile-main > section { margin-bottom: 32px; }
.rl-profile-about p { font-size: 16.5px; line-height: 1.65; }

.rl-facts {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 20px;
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius-lg);
}
.rl-facts dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--rl-fg-muted);
  padding-top: 4px;
}
.rl-facts dd {
  margin: 0;
  padding-top: 4px;
  font-size: 15.5px;
}
@media (max-width: 540px) {
  .rl-facts { grid-template-columns: 1fr; gap: 0; }
  .rl-facts dt { padding-top: 14px; }
  .rl-facts dd { padding-top: 2px; }
}

.rl-social-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 12px;
}

.rl-profile-actions {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0 0;
  border-top: 1px solid var(--rl-line);
}
.rl-text-muted { color: var(--rl-fg-muted); font-size: 14px; }

.rl-profile-aside { display: flex; flex-direction: column; gap: 20px; }
.rl-aside-block {
  background: #fff;
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius-lg);
  padding: 16px 18px;
}
.rl-aside-block h3 {
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--rl-fg-muted);
  font-weight: 600;
  margin: 0 0 10px;
}
.rl-aside-list { list-style: none; padding: 0; margin: 0; }
.rl-aside-list li { padding: 4px 0; font-size: 14.5px; }
.rl-aside-more { margin: 10px 0 0; font-size: 14px; }

/* ------ form ------ */
.rl-form-container {
  max-width: 720px;
}
.rl-form {
  background: #fff;
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius-lg);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.rl-field {
  display: flex; flex-direction: column; gap: 4px;
}
.rl-field-label {
  font-size: 14px;
  color: var(--rl-fg-soft);
  font-weight: 500;
}
.rl-field-hint {
  font-size: 13px;
  color: var(--rl-fg-muted);
}
.rl-field input, .rl-field textarea, .rl-field select {
  border: 1px solid var(--rl-line);
  border-radius: var(--rl-radius);
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  color: var(--rl-fg);
  width: 100%;
}
.rl-field input:focus, .rl-field textarea:focus, .rl-field select:focus {
  outline: 0;
  border-color: var(--rl-accent);
  box-shadow: 0 0 0 3px var(--rl-accent-soft);
}
.rl-field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 640px) {
  .rl-field-row { grid-template-columns: 1fr; }
}
.rl-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.rl-hr {
  border: 0;
  border-top: 1px solid var(--rl-line);
  margin: 8px 0 4px;
}
.rl-flash {
  border-radius: var(--rl-radius);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.rl-flash-success {
  background: #e9f3ea;
  color: var(--rl-success);
  border: 1px solid #b4dabb;
}
.rl-flash-error {
  background: #fbe9e9;
  color: var(--rl-error);
  border: 1px solid #e6b1b1;
}
.rl-flash ul { margin: 6px 0 0 18px; padding: 0; }

/* ------ prose ------ */
.rl-prose {
  max-width: 760px;
}
.rl-prose h2 { margin-top: 1.6em; }
.rl-prose ul { padding-left: 22px; }
.rl-prose li { margin-bottom: 6px; }

/* ------ ads ------ */
.rl-ad {
  margin: 24px auto;
  text-align: center;
  max-width: var(--rl-max);
  padding: 0 var(--rl-pad);
}
.rl-ad-placeholder {
  background: var(--rl-line-soft);
  color: var(--rl-fg-muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 18px;
  border-radius: var(--rl-radius);
  border: 1px dashed var(--rl-line);
}
.rl-ad-728x90    .rl-ad-placeholder { max-width: 728px; height: 90px;  display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.rl-ad-728x250   .rl-ad-placeholder { max-width: 728px; height: 250px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.rl-ad-300x250   .rl-ad-placeholder { max-width: 300px; height: 250px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }

/* ------ footer ------ */
.rl-footer {
  margin-top: 40px;
  background: var(--rl-brand);
  color: #ece4d7;
  padding: 40px 0 24px;
}
.rl-footer h4 {
  color: #ece4d7;
  letter-spacing: .04em;
}
.rl-footer p, .rl-footer li { color: #c8bba6; font-size: 14.5px; }
.rl-footer a {
  color: #fff;
  text-decoration: none;
}
.rl-footer a:hover { color: var(--rl-accent-soft); text-decoration: underline; }
.rl-footer ul { list-style: none; padding: 0; margin: 0; }
.rl-footer li { margin-bottom: 6px; }
.rl-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 720px) {
  .rl-footer-grid { grid-template-columns: 1fr 1fr; }
}
.rl-footer-bottom {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #a8987d;
  font-size: 13px;
}
