/* Sheerline — full site
   Plain, calm, competent. See design-direction.md for reasoning
   (including the background-color revision made in this pass). */

:root {
  --ink: #16213A;
  --ink-soft: #3C4A66;
  --muted: #7C879C;
  --paper: #FFFFFF;
  --paper-deep: #F4F5F7;
  --line: #E3E6EB;
  --brass: #B4823D;
  --brass-dark: #8F6529;
  --resolved: #3D6E5B;
  --resolved-bg: rgba(61, 110, 91, 0.1);
  --upcoming: #6B7280;
  --upcoming-bg: #F4F5F7;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--brass);
  color: #fff;
}
.btn-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 8px;
  padding-right: 8px;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  padding: 10px 18px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 84px;
  padding-bottom: 56px;
  overflow: hidden;
}
.hero .wrap { max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--brass-dark);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero .lede {
  font-size: 1.1rem;
  max-width: 620px;
}
.sheerline {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 20px;
}
.sheerline path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  opacity: 0.55;
}

/* Wedge / two-col */
.wedge {
  background: var(--paper-deep);
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.wedge h2 { font-size: 1.7rem; margin-bottom: 18px; }
.sources {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.sources li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.sources li:last-child { padding-bottom: 0; }
.sources strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.sources span { color: var(--ink-soft); font-size: 0.95rem; }

/* Demo panel (mock ticket) */
.demo-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(22, 33, 58, 0.04);
}
.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ticket-id {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.pill-resolved {
  background: rgba(61, 110, 91, 0.12);
  color: var(--resolved);
}
.demo-msg { margin-bottom: 16px; }
.demo-msg:last-child { margin-bottom: 0; }
.demo-msg .who {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.demo-msg p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.demo-msg-customer p {
  background: var(--paper-deep);
  border-radius: 6px;
  padding: 12px 14px;
}
.demo-msg-bot p {
  background: rgba(180, 130, 61, 0.08);
  border-radius: 6px;
  padding: 12px 14px;
}
.source-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--brass-dark);
  font-weight: 600;
}

/* Differentiators */
.different {
  padding: 72px 0;
}
.different h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.card p { font-size: 0.95rem; margin-bottom: 0; }

/* Positioning + ask */
.positioning {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.positioning .statement {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
  color: #fff;
  max-width: 760px;
  margin: 0 auto 32px;
}
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.positioning .btn-link { color: #EFE7D6; }

/* Footer */
.site-footer {
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-about .logo-foot {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.site-footer .about {
  font-size: 0.88rem;
  max-width: 520px;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2px;
}
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .fine-wrap {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.site-footer .fine {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Inner-page hero (Product, Use Cases, About, Contact, Support) */
.page-hero {
  padding-top: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { max-width: 760px; }
.page-hero h1 {
  font-size: 2.15rem;
  line-height: 1.22;
  margin-bottom: 18px;
}
.page-hero .lede {
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 0;
}
.page-hero .lede a {
  color: var(--brass-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Generic content section rhythm */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.section .kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brass-dark);
  margin-bottom: 14px;
}
.prose { max-width: 700px; }
.prose p { font-size: 1.02rem; }

/* Home: what's-next teaser */
.next-tease {
  padding: 44px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.next-tease p {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.next-tease .status-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Status pills, shared by home teaser + Use Cases */
.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.status-pill.live {
  background: var(--resolved-bg);
  color: var(--resolved);
}
.status-pill.upcoming {
  background: transparent;
  color: var(--upcoming);
  border: 1px dashed var(--upcoming);
}

/* Product page: connects-to-your-tools */
.connectors {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.connector-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.connector-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}

/* Use Cases page */
.usecases-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.usecase-card {
  border-radius: 10px;
  padding: 32px;
}
.usecase-card.live {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(22, 33, 58, 0.05);
}
.usecase-card.upcoming {
  background: var(--paper-deep);
  border: 1px dashed var(--upcoming);
}
.usecase-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.usecase-card h3 {
  margin: 0;
  font-size: 1.35rem;
}
.usecase-card.upcoming h3 { color: var(--ink-soft); }
.usecase-card p { max-width: 680px; }
.usecase-card .not-buyable {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--upcoming);
  margin-top: 8px;
  margin-bottom: 0;
}
.usecase-card .more-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--brass-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.beyond-note {
  margin-top: 8px;
  padding: 20px 24px;
  border-left: 3px solid var(--line);
}
.beyond-note p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* About page */
.about-section:not(:last-child) {
  margin-bottom: 40px;
}
.about-section h2 { font-size: 1.3rem; }

/* Contact / Support pages */
.simple-page .wrap { max-width: 640px; }
.contact-card, .support-card {
  margin-top: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-deep);
}
.email-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
  margin: 6px 0 4px;
}
.email-link:hover { color: var(--brass-dark); }
.support-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 18px;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .positioning .statement { font-size: 1.3rem; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
