/* =====================================================================
   WT Projects — wtdc.app
   Stylesheet
   ===================================================================== */

:root {
  /* Surfaces */
  --bg: #FAF6EE;
  --bg-deep: #F2EBDD;
  --surface: #FFFFFF;
  --surface-2: #FBF7EE;
  --border: #E8DFCE;
  --border-strong: #D8CCB3;

  /* Type */
  --text: #14201B;
  --text-muted: #5C6661;
  --text-soft: #8A8F89;

  /* Accent — deep emerald */
  --accent: #1F5F4A;
  --accent-2: #174738;
  --accent-soft: #E5EFE9;

  /* Tag colors */
  --t-strategy: #1F5F4A;
  --t-people: #3D4F8A;
  --t-web: #B05A28;
  --t-finance: #7A2E2E;
  --t-research: #5C4A8A;

  /* Layout */
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 18px;

  /* Type scale */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =================== RESET =================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* Typography */

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1rem; }
h5 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; color: var(--text-muted);}

p { margin: 0 0 1em; }

em {
  font-style: italic;
  color: var(--accent);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1.1rem;
}

.eyebrow--light {
  color: rgba(255,255,255,0.75);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== BUTTONS =================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-2);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--text);
}

.btn--invert {
  background: #fff;
  color: var(--accent-2);
}

.btn--invert:hover {
  background: var(--bg);
}

.btn--block {
  width: 100%;
}

/* =================== NAV =================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 246, 238, 0.95);
}

.nav__inner {
  max-width: var(--maxw);
  margin: auto;
  padding: 15px;
  display: table;
}

.nav__inner--centered {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  align-self: center;
}

.nav__brand-name {
  font-style: italic;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__login {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.nav__login:hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 24px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 1.4rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu nav .btn {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 1rem;
}

/* =================== HERO =================== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero__copy {
  max-width: 560px;
}

.hero__title {
  margin: 0 0 24px;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__meta {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0;
}

/* Board mockup */
.hero__visual {
  position: relative;
}

.board {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(20, 32, 27, 0.04),
    0 30px 60px -30px rgba(20, 32, 27, 0.18),
    0 14px 28px -14px rgba(20, 32, 27, 0.08);
  overflow: hidden;
}

.board__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.board__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.board__dot:nth-child(1) { background: var(--border-strong); }
.board__dot:nth-child(2) { background: var(--border-strong); }
.board__dot:nth-child(3) { background: var(--border-strong); }

.board__title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 500;
}

.board__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--bg-deep);
}

.col {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
}

.col__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 4px;
  border-bottom: 1px dashed var(--border);
}

.col__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.col__count {
  font-size: 0.72rem;
  background: var(--border);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(20, 32, 27, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h4 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.card--dragging {
  box-shadow:
    0 8px 20px -4px rgba(20, 32, 27, 0.14),
    0 0 0 2px var(--accent-soft);
  border-color: var(--accent);
}

.card--done h4 {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
}

.card--done {
  opacity: 0.85;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  color: #fff;
}

.tag--strategy { background: var(--t-strategy); }
.tag--people { background: var(--t-people); }
.tag--web { background: var(--t-web); }
.tag--finance { background: var(--t-finance); }
.tag--research { background: var(--t-research); }

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.due {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.due--soon {
  background: #FBE9D6;
  color: #8A4A12;
}

.due--late {
  background: #F5DEDE;
  color: #7A2E2E;
}

.avatars {
  display: inline-flex;
}

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
  letter-spacing: 0.02em;
}

.avatar + .avatar {
  margin-left: -8px;
}

.card__progress {
  margin-top: 4px;
}

.card__progress-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.card__bar {
  height: 4px;
  background: var(--bg-deep);
  border-radius: 100px;
  overflow: hidden;
}

.card__bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
}

/* Floating notification chip */
.float-chip {
  display: none;
}

/* =================== LOGOS BAND =================== */

.logos {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.logos__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 28px;
  font-weight: 600;
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 36px 48px;
  opacity: 0.65;
}

.logo-mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--text);
  white-space: nowrap;
}

.logo-mark--italic {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.01em;
  font-size: 1.4rem;
  font-weight: 500;
}

.logo-mark--mono {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0;
}

/* =================== SECTION HEAD =================== */

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 16px 0 0;
}

/* =================== FEATURES (PRODUCT IN ACTION) =================== */

.features {
  padding: 120px 0;
}

.feature-switcher {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: stretch;
}

.feature-canvas {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 460px;
  padding: 24px;
  box-shadow: 0 30px 60px -40px rgba(20, 32, 27, 0.12);
  overflow: hidden;
}

.feature-panel {
  position: absolute;
  inset: 24px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mock {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mock__head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.mock__crumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* mock board */
.mock__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}

.mock__col {
  background: var(--bg-deep);
  border-radius: 10px;
  padding: 12px;
}

.mock__col-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.mock__col-head i {
  font-style: normal;
  background: var(--surface);
  padding: 0 6px;
  border-radius: 3px;
}

.mock__card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock__card--moving {
  box-shadow: 0 6px 14px -4px rgba(20,32,27,0.12);
  border-color: var(--accent);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--a { background: var(--t-strategy); }
.dot--b { background: var(--t-people); }
.dot--c { background: var(--t-web); }
.dot--d { background: var(--t-finance); }

/* mock calendar */
.cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  flex: 1;
}

.cal__day {
  background: var(--bg-deep);
  border-radius: 8px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cal__day > span:first-child {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cal__day--today {
  background: var(--accent-soft);
  outline: 1.5px solid var(--accent);
}

.event {
  font-size: 0.74rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 6px 8px;
  border-radius: 4px;
  line-height: 1.3;
}

.event--green { border-left-color: #1F5F4A; }
.event--orange { border-left-color: #B05A28; }
.event--blue { border-left-color: #3D4F8A; }
.event--red { border-left-color: #7A2E2E; background: #FBEEEE; }

/* mock detail */
.detail {
  flex: 1;
}

.detail__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.detail__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}

.is-done .check {
  background: var(--accent);
  border-color: var(--accent);
}

.is-done .check::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.is-done {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
}

.detail__bar {
  height: 6px;
  background: var(--bg-deep);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}

.detail__bar-fill {
  height: 100%;
  background: var(--accent);
}

.detail__progress {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tabs */
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
}

.feature-tab {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  border-radius: 0;
  margin-left: -1px;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.feature-tab:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.feature-tab.is-active {
  border-color: var(--accent);
  background: none;
  box-shadow: none;
}

.feature-tab__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}

.feature-tab.is-active .feature-tab__icon {
  color: var(--accent);
}

.feature-tab__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-tab__body strong {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.feature-tab__body span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =================== TWO UP =================== */

.two-up {
  padding: 120px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-up__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.two-up__row:last-child {
  margin-bottom: 0;
}

.two-up__row--alt .two-up__copy { order: 2; }
.two-up__row--alt .two-up__visual { order: 1; }

.two-up__copy h3 {
  margin-bottom: 16px;
  max-width: 460px;
}

.two-up__copy p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 480px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text);
}

.ticks li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Capture visual */
.capture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 30px 60px -40px rgba(20, 32, 27, 0.12);
}

.capture__source {
  width: 100%;
  background: var(--bg-deep);
  border-radius: var(--radius);
  padding: 16px;
}

.capture__src-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.capture__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid var(--border);
}

.capture__source p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.capture__arrow {
  color: var(--accent);
}

.capture__card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.capture__card h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Standalone calendar list */
.cal--standalone {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 60px -40px rgba(20, 32, 27, 0.12);
}

.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.cal__head-pill {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #FBEEEE;
  color: #7A2E2E;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

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

.cal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-deep);
}

.cal__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 48px;
}

.cal__date b {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.cal__date i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cal__body strong {
  font-size: 0.95rem;
}

.cal__body span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cal__status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.cal__status--ok { background: #DDEBE2; color: #1F5F4A; }
.cal__status--late { background: #F5DEDE; color: #7A2E2E; }
.cal__status--soon { background: #FBE9D6; color: #8A4A12; }

/* =================== SMART CARDS =================== */

.smart {
  padding: 120px 0;
}

.smart__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.smart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.smart-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px -12px rgba(20, 32, 27, 0.1);
}

.smart-card__icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.smart-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.smart-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  flex: 1;
}

.smart-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

.smart-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =================== PROOF =================== */

.proof {
  padding: 96px 0;
  background: var(--text);
  color: var(--bg);
}

.proof__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.proof__quote {
  position: relative;
  padding-left: 0;
}

.proof__mark {
  display: none;
}

.proof__quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 24px;
  color: #fff;
  font-weight: 500;
}

.proof__quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof__quote figcaption strong {
  font-weight: 600;
  font-size: 1rem;
}

.proof__quote figcaption span {
  font-size: 0.88rem;
  color: rgba(250, 246, 238, 0.6);
}

.proof__stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.proof__stat-num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  display: block;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.proof__stat-text {
  font-size: 1rem;
  color: rgba(250, 246, 238, 0.85);
  margin: 0 0 16px;
  line-height: 1.5;
}

.proof__stat-meta {
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.5);
  letter-spacing: 0.04em;
}

/* =================== VIDEO =================== */

.video {
  padding: 96px 0;
}

.video__frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 30px 60px -40px rgba(20, 32, 27, 0.15);
}

.video__inner {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #16332B 0%, #1F5F4A 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.video__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.video__play {
  position: relative;
  width: 80px;
  height: 80px;
  background: #fff;
  color: var(--accent-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transition: transform 0.2s ease;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.5);
  animation: pulse 2.4s ease-in-out infinite;
}

.video__play:hover { transform: scale(1.06); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.video__label {
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}

/* =================== CTA =================== */

.cta {
  padding: 120px 0;
  background: var(--accent-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  display: none;
}

.cta__inner {
  position: relative;
  max-width: 720px;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.cta__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.cta__or {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.field select option {
  background: var(--accent-2);
  color: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--sans);
}

.cta__form .btn--block {
  grid-column: 1 / -1;
}

.cta__micro {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =================== FOOTER =================== */

.foot {
  background: var(--bg);
  padding: 15px;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot__col--brand {
  gap: 16px;
}

.foot__col h5 {
  margin-bottom: 4px;
}

.foot__col a,
.foot__email {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.foot__col a:hover,
.foot__email:hover {
  color: var(--accent);
}

.foot__email {
  cursor: pointer;
}

.nav__brand--foot {
  margin-bottom: 4px;
}

.foot__tag {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 280px;
  line-height: 1.55;
}

.foot__bottom {
  display: table;
  margin: auto;
  padding: 15px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.foot__bottom p {
  margin: 0;
  text-align: center;
}

.foot__built a {
  color: var(--accent);
  font-weight: 500;
}

.foot__built a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =================== REVEAL ANIMATION =================== */

/* Reveals only hide when JS is available to bring them back */
.js .reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =================== RESPONSIVE =================== */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .feature-switcher {
    grid-template-columns: 1fr;
  }

  .feature-canvas {
    min-height: 380px;
  }

  .two-up__row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
  }

  .two-up__row--alt .two-up__copy { order: 1; }
  .two-up__row--alt .two-up__visual { order: 2; }

  .smart__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .proof__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .foot__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 72px; }
  .features, .two-up, .smart, .cta { padding: 72px 0; }
  .proof, .video { padding: 64px 0; }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__toggle {
    display: flex;
    margin-left: auto;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .board__columns {
    grid-template-columns: 1fr;
  }

  .col {
    min-height: auto;
  }

  .mock__cols {
    grid-template-columns: 1fr;
  }

  .cal {
    grid-template-columns: 1fr;
  }

  .cta__form {
    grid-template-columns: 1fr;
  }

  .foot__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .foot__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .float-chip {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .logos__row {
    gap: 24px 32px;
  }

  .logo-mark {
    font-size: 0.92rem;
  }
}
