/* PaperPlain — main stylesheet */
/* Palette: #111714 base, #F5F2EC near-white, #C2DDD5 sage, #B8D4C8 accent */

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

:root {
  --bg:         #111714;
  --bg-dark:    #0D1210;
  --bg-mid:     #1A231F;
  --border:     #2a3530;
  --border-mid: #1E2E29;
  --sage:       #C2DDD5;
  --sage-mid:   #9BBDB4;
  --sage-dim:   #5E7B71;
  --sage-mute:  #4D6B61;
  --sage-deep:  #3D5247;
  --accent:     #B8D4C8;
  --text:       #F5F2EC;
  --text-mid:   #C2D8D0;
  --text-dim:   #7A9E94;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 760px;
  margin: 0 auto;
}

/* --- NAV --- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.nav-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: var(--sage);
  text-decoration: none;
  font-weight: 400;
}

.badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: var(--bg-mid);
  color: var(--sage);
  border: 0.5px solid var(--sage-mute);
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* --- HERO --- */

.hero {
  padding: 5rem 2.5rem 3.5rem;
  border-bottom: 0.5px solid var(--border-mid);
}

.eyebrow {
  font-size: 13px;
  font-weight: 400;
  color: var(--sage);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.headline {
  font-family: 'DM Serif Display', serif;
  font-size: 60px;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 400;
  max-width: 620px;
}

.headline em {
  font-style: italic;
  color: #C8E0D6;
}

.sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--sage);
  border: 0.5px solid var(--sage-mute);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}

.alpha-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 1.25rem;
  font-weight: 300;
}

/* --- APP SCREEN MOCKUP --- */

.screen {
  margin: 3rem 2.5rem;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-dark);
}

.screen-bar {
  background: var(--bg-mid);
  border-bottom: 0.5px solid var(--border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.screen-filename {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 0.5rem;
}

.screen-toolbar {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border-mid);
  padding: 0.4rem 1rem;
  display: flex;
  gap: 1.25rem;
}

.tool {
  font-size: 13px;
  color: var(--sage-mute);
  font-weight: 400;
  cursor: default;
}

.tool-active {
  color: var(--sage);
}

.editor {
  padding: 2rem 2.5rem;
  min-height: 200px;
}

.md-syntax {
  font-size: 13px;
  color: var(--sage-deep);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

.md-bullet {
  font-size: 14px;
  color: var(--sage-mute);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.md-arrow {
  font-size: 13px;
  color: var(--sage-deep);
  margin: 0.75rem 0;
}

.md-prose {
  font-size: 15px;
  color: var(--sage-mid);
  line-height: 1.85;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--sage);
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* --- FEATURES --- */

.section {
  padding: 3.5rem 2.5rem;
  border-bottom: 0.5px solid var(--border-mid);
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sage-dim);
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #E0DCD4;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.feature-body {
  font-size: 15px;
  color: var(--sage-mid);
  line-height: 1.75;
  font-weight: 300;
}

/* --- HONEST SECTION --- */

.honest {
  padding: 3rem 2.5rem;
  background: var(--bg-dark);
  border-top: 0.5px solid var(--border-mid);
  border-bottom: 0.5px solid var(--border-mid);
}

.honest-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: #E0DCD4;
  margin-bottom: 1rem;
  font-weight: 400;
}

.honest-body {
  font-size: 15px;
  color: var(--sage-mid);
  line-height: 1.85;
  max-width: 520px;
  font-weight: 300;
}

.honest-body strong {
  color: var(--sage);
  font-weight: 400;
}

/* --- SIGNUP --- */

.signup {
  padding: 4rem 2.5rem;
  border-bottom: 0.5px solid var(--border-mid);
}

.signup-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.signup-sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-weight: 300;
}

.email-row {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
}

.email-input {
  flex: 1;
  background: var(--bg-mid);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border-radius: 2px;
  font-weight: 300;
  outline: none;
}

.email-input::placeholder {
  color: var(--sage-deep);
}

.email-input:focus {
  border-color: var(--sage-mute);
}

.response-ok {
  font-size: 14px;
  color: var(--sage);
  margin-top: 1rem;
  font-weight: 300;
}

.response-err {
  font-size: 14px;
  color: #c97a7a;
  margin-top: 1rem;
  font-weight: 300;
}

/* --- FOOTER --- */

.footer {
  padding: 1.5rem 2.5rem;
  border-top: 0.5px solid var(--border-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  color: var(--sage-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 13px;
  color: var(--sage-deep);
  text-decoration: none;
  font-weight: 300;
}

/* --- VERIFY PAGE --- */

.verify-wrap {
  padding: 6rem 2.5rem;
  max-width: 480px;
}

.verify-title {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 400;
}

.verify-body {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}

/* --- RESPONSIVE --- */

@media (max-width: 600px) {
  .headline { font-size: 40px; }
  .hero, .section, .honest, .signup { padding-left: 1.5rem; padding-right: 1.5rem; }
  .nav { padding-left: 1.5rem; padding-right: 1.5rem; }
  .screen { margin-left: 1.5rem; margin-right: 1.5rem; }
  .features { grid-template-columns: 1fr; }
  .email-row { flex-direction: column; }
  .footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
