/* eventOS — landing page styles */

:root {
  --bg: #F6F4EF;
  --ink: #161A17;
  --green: #1B4D3E;
  --green-dark: #0E3126;
  --muted: #4A524C;
  --muted-2: #7A8079;
  --border: #E2DED4;
  --tint: #EFEBE2;
  --pill-bg: #E7EDE7;
  --highlight-bg: #FBF7E9;
  --highlight-text: #9A7B18;
  --pulse: #8FCB9B;
  --on-dark: #F1F5F0;
  --max-width: 1180px;
  --edge: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

h1, h2, h3, p, blockquote, ul, ol, figure {
  margin: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes eosPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.page {
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  padding: 15px 26px;
  border: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--bg);
  text-decoration: none;
}

.btn-outline {
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 9px 16px;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--bg);
  text-decoration: none;
}

.btn-text {
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
  padding: 15px 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-text:hover {
  color: var(--green-dark);
}

.btn-on-dark {
  align-self: flex-start;
  margin-top: 6px;
  background: var(--bg);
  color: var(--green);
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 9px;
}
.btn-on-dark:hover {
  background: #FFFFFF;
  color: var(--green);
  text-decoration: none;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--edge);
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-mark span {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--bg);
}
.brand-mark-sm {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-name-sm {
  font-weight: 700;
  font-size: 14px;
}

/* Hero */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--edge) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pill-bg);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 20px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 34em;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.invite-info {
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 16px 18px;
  max-width: 40em;
}
.invite-info p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-footnote {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted-2);
}

/* Hero visual */

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px -28px rgba(22, 26, 23, .45);
}

.event-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.event-card-title {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.event-card-sub {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

.pill {
  flex: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--pill-bg);
  border-radius: 6px;
  padding: 4px 8px;
}

.timeline {
  display: grid;
  gap: 2px;
  list-style: none;
  padding: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid #EEEAE1;
}

.timeline-row-changed {
  background: var(--highlight-bg);
  border-radius: 8px;
  padding-left: 8px;
}

.timeline-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.timeline-time-old {
  display: block;
  font-size: 11px;
  color: var(--highlight-text);
  text-decoration: line-through;
  font-weight: 600;
}

.timeline-label {
  font-size: 14px;
  font-weight: 600;
}

.timeline-note {
  font-size: 13px;
  color: var(--muted-2);
}

.timeline-note-changed {
  color: var(--highlight-text);
  font-weight: 600;
}

.toast {
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.45;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--pulse);
  flex: none;
  animation: eosPulse 2s ease-in-out infinite;
}

/* Sections */

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) var(--edge);
}

.section-inner-narrow {
  max-width: 820px;
  padding: clamp(48px, 7vw, 88px) var(--edge);
}

.section-tinted {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-tinted .section-inner {
  padding: clamp(48px, 7vw, 88px) var(--edge);
}

.section-white {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.section-white .grid-2 {
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  text-wrap: balance;
}

.section-intro {
  margin-bottom: clamp(32px, 4vw, 52px) !important;
  max-width: 36em;
}

.body-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 34em;
  text-wrap: pretty;
}
.body-text:last-child {
  margin-bottom: 0;
}

/* Problem / chat bubbles */

.chat-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 82%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.bubble strong {
  color: var(--ink);
}
.bubble-left {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
}
.bubble-right {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 99px;
  background: var(--green);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.step h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.mock {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.mock-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.mock-input {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
}

.mock-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-vendors {
  gap: 9px;
}

.mock-vendor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mock-vendor-name {
  font-size: 14px;
  font-weight: 600;
}

.status-tag {
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  flex: none;
}
.status-tag-ok {
  color: var(--green);
  background: var(--pill-bg);
}
.status-tag-pending {
  color: var(--muted-2);
  background: var(--tint);
}

.mock-invite-row {
  border-top: 1px dashed var(--border);
  padding-top: 11px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.mock-input-ghost {
  flex: 1;
  color: var(--muted-2);
  margin: 0;
}

.mock-btn {
  background: var(--green);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 13px;
  flex: none;
}

.mock-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-2);
}

.mock-view-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  font-size: 14px;
}
.mock-view-row span:first-child {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mock-alert {
  background: var(--ink);
  color: var(--bg);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

/* Audience cards */

.audience-card {
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audience-card-dark {
  background: var(--green);
  color: var(--on-dark);
}
.audience-card-dark h3 {
  color: var(--on-dark);
}

.audience-card-light {
  background: var(--bg);
  border: 1px solid var(--border);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
}
.eyebrow-on-dark {
  color: var(--on-dark);
  opacity: .7;
}

.audience-card h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.audience-text {
  font-size: 16px;
  line-height: 1.6;
}
.audience-card-dark .audience-text {
  opacity: .85;
}
.audience-card-light .audience-text {
  color: var(--muted);
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
  list-style: none;
  padding: 0;
}
.role-tags li {
  border: 1px solid var(--border);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.feature h3 {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* Quote */

.quote {
  margin-top: clamp(32px, 4vw, 52px);
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 20px;
  max-width: 44em;
}
.quote p {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted-2);
}

/* CTA */

.cta-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--edge);
  text-align: center;
}

.cta-section h2 {
  margin: 0 auto 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  max-width: 16em;
}

.cta-intro {
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  max-width: 32em;
}

.cta-confirmation {
  max-width: 520px;
  margin: 0 auto;
  background: var(--green);
  color: var(--on-dark);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: left;
}
.cta-confirmation-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}
.cta-confirmation-text {
  font-size: 15px;
  line-height: 1.55;
  opacity: .85;
  word-break: break-word;
}

.cta-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-form input {
  flex: 1 1 220px;
  border: 1px solid #C9C3B5;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.cta-form input:focus {
  border-color: var(--green);
}

.cta-form .btn {
  flex: 1 1 220px;
}

.cta-footnote {
  font-size: 14px;
  color: var(--muted-2);
  margin: 18px auto 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--edge);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--green);
}
