/* ============ Tokens ============ */
:root{
  --paper:      #FBFBF9;
  --paper-dim:  #F3F2EC;
  --white:      #FFFFFF;
  --ink:        #14171B;
  --steel:      #545B66;
  --steel-soft: #7C8390;
  --line:       #E2E1DA;
  --signal:     #0E6E68;
  --signal-dk:  #0A5450;
  --tint:       #E7F2F0;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1100px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg{ display: block; max-width: 100%; }

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

h1, h2, h3{
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

em{
  font-style: italic;
  font-weight: 500;
  color: var(--signal);
}

.eyebrow{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 14px;
}

.section-sub{
  color: var(--steel);
  max-width: 46ch;
  margin: 14px 0 0;
}

/* ============ Buttons ============ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--signal);
  color: var(--white);
}
.btn-primary:hover{ background: var(--signal-dk); }

.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--signal); color: var(--signal); }

/* ============ Header ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,251,249,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.logo-mark{ color: var(--signal); }

.site-nav{
  display: flex;
  gap: 32px;
}
.site-nav a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel);
  transition: color 0.15s ease;
}
.site-nav a:hover{ color: var(--ink); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span{
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav{
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 8px 24px 16px;
}
.mobile-nav a{
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav.open{ display: flex; }

@media (max-width: 760px){
  .site-nav{ display: none; }
  .nav-toggle{ display: flex; }
}

/* ============ Hero ============ */
.hero{ padding: 84px 0 96px; }

.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1{
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.lede{
  font-size: 1.08rem;
  color: var(--steel);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- signature element: answer card --- */
.hero-visual{ display: flex; justify-content: center; }

.answer-card{
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(20,23,27,0.18);
  overflow: hidden;
}

.answer-card__bar{
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.answer-card__bar .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
}

.answer-card__query{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  color: var(--steel);
  font-size: 0.98rem;
  min-height: 26px;
}
.typed-query{ color: var(--ink); font-weight: 500; }

.caret{
  width: 2px; height: 18px;
  background: var(--signal);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity: 0; } }

.answer-card__answer{
  padding: 4px 20px 22px;
  min-height: 128px;
}

.answer-text{
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  min-height: 3.3em;
  margin: 0 0 14px;
}

.chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 0.72rem;
  background: var(--tint);
  color: var(--signal-dk);
  border-radius: 999px;
  padding: 5px 10px;
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-copy{ text-align: left; }
}

/* ============ Section shells ============ */
section{ padding: 96px 0; }
.about{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roadmap{ background: var(--paper); }
.contact{ background: var(--paper-dim); border-top: 1px solid var(--line); }

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ============ About ============ */
.about-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-grid .section-head{ margin-bottom: 0; }

.about-body p{
  color: var(--steel);
  max-width: 62ch;
}

.value-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.value-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.value-mark{
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.value-card p{ margin: 0; color: var(--steel); font-size: 0.92rem; }

@media (max-width: 860px){
  .about-grid{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
}

/* ============ Roadmap ============ */
.roadmap-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.roadmap-item{
  background: var(--white);
  padding: 22px 26px;
}

.roadmap-item__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.roadmap-item__top h3{
  font-size: 1.05rem;
  font-weight: 600;
}
.roadmap-item p{ margin: 0; color: var(--steel); font-size: 0.94rem; }

.status{
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-active{ background: var(--tint); color: var(--signal-dk); }
.status-planned{ background: var(--paper-dim); color: var(--steel); }
.status-exploring{ background: var(--paper-dim); color: var(--steel-soft); }

@media (max-width: 560px){
  .roadmap-item__top{ flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============ Contact ============ */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-grid .section-head{ margin-bottom: 0; }

.contact-direct{ margin-top: 28px; }

.contact-email{
  display: inline-block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--signal);
  padding-bottom: 2px;
}
.contact-email:hover{ color: var(--signal); }

.social-row{
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.social-row a{
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--steel);
  background: var(--white);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover{ color: var(--signal); border-color: var(--signal); }

.contact-form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label{
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--steel);
}
.form-row input, .form-row textarea{
  font-family: var(--body);
  font-size: 0.96rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--tint);
}

.btn-form{ align-self: flex-start; }

.form-note{
  margin: 0;
  font-size: 0.88rem;
  color: var(--steel);
  min-height: 1.2em;
}
.form-note.success{ color: var(--signal-dk); }
.form-note.error{ color: #B3423A; }

@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--steel-soft);
}
