/* Social Media Scheduler — Hero (homepage layout pattern) */

.cs-mockup-panels {
  display: block;
}

.cs-composer-panel {
  text-align: left;
}

.cs-dash-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.15rem;
}

.cs-dash-head .panel-label {
  margin-bottom: 0;
}

.cs-usage {
  display: grid;
  gap: 0.4rem;
}

.cs-usage-top {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.cs-usage-bar {
  height: 0.35rem;
  border-radius: 9999px;
  background: var(--muted);
  overflow: hidden;
}

.cs-usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  min-width: 0;
}

.cs-flow {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 70%, transparent);
}

.cs-flow-arrow {
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
  font-weight: 600;
}

.cs-platforms {
  margin-top: 1rem;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.cs-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.cs-platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cs-pill svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--plat, var(--foreground));
  flex-shrink: 0;
}

.cs-pill.is-selected {
  border-color: color-mix(in oklch, var(--primary) 42%, var(--border));
  background: color-mix(in oklch, var(--primary-soft) 70%, white);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--primary) 12%, transparent);
}

.cs-composer-bridge {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cs-bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in oklch, var(--primary) 35%, var(--border)),
    transparent
  );
}

.cs-bridge-label {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 75%, var(--muted-foreground));
}

.cs-form {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.85rem;
}

.cs-field {
  display: grid;
  gap: 0.4rem;
}

.cs-input,
.cs-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.7rem 0.85rem;
  resize: none;
  cursor: default;
}

.cs-input::placeholder,
.cs-textarea::placeholder {
  color: color-mix(in oklch, var(--muted-foreground) 85%, white);
}

.cs-input:focus-visible,
.cs-textarea:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-dropzone {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  min-height: 4.75rem;
  border: 1.5px dashed color-mix(in oklch, var(--border) 70%, var(--primary));
  border-radius: 0.85rem;
  background: color-mix(in oklch, var(--primary-soft) 35%, var(--background));
  color: var(--muted-foreground);
  text-align: center;
  padding: 0.85rem 1rem;
}

.cs-dropzone svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.cs-dropzone p {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.cs-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.cs-btn-publish,
.cs-btn-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cs-btn-publish {
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 22px -10px color-mix(in oklch, var(--primary) 45%, transparent);
}

.cs-btn-schedule {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.cs-btn-publish svg,
.cs-btn-schedule svg {
  width: 0.95rem;
  height: 0.95rem;
}

.cs-btn-publish:hover,
.cs-btn-schedule:hover {
  transform: translateY(-1px);
}

.cs-btn-publish:focus-visible,
.cs-btn-schedule:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-schedule-preview {
  margin-top: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--background);
  padding: 0.8rem 0.85rem;
}

.cs-schedule-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.cs-schedule-fields {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.cs-schedule-item {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--card);
  padding: 0.55rem 0.65rem;
}

.cs-schedule-key {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.cs-schedule-val {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (prefers-reduced-motion: reduce) {
  .cs-btn-publish:hover,
  .cs-btn-schedule:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .cs-dash-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .cs-usage {
    min-width: 10.5rem;
    text-align: right;
  }

  .cs-usage-bar {
    margin-left: auto;
    width: 100%;
  }
}

@media (max-width: 639px) {
  .cs-actions {
    grid-template-columns: 1fr;
  }
}

/* Workflow: Create → Select → Publish/Schedule */
.cs-workflow {
  position: relative;
  overflow: hidden;
}

.cs-workflow-glow {
  pointer-events: none;
  position: absolute;
  inset: -8% 18% auto;
  height: 42%;
  background: radial-gradient(
    ellipse 50% 55% at 50% 0%,
    var(--glow),
    transparent 72%
  );
}

.cs-workflow-inner {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 5.5rem;
}

.cs-workflow-header {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.cs-workflow-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.cs-workflow-title {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.cs-workflow-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.cs-workflow-steps {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.cs-wf-item {
  display: flex;
  flex-direction: column;
}

.cs-wf-connector-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.35rem;
}

.cs-wf-card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cs-wf-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 38%, transparent);
  box-shadow: 0 14px 30px -16px oklch(0.3 0.05 20 / 0.25);
}

.cs-wf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding-inline: 0.55rem;
  border-radius: 0.8rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cs-wf-card-title {
  margin-top: 0.95rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--foreground);
}

.cs-wf-card-text {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.cs-wf-preview {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.55rem;
}

.cs-wf-mini-field {
  display: grid;
  gap: 0.28rem;
}

.cs-wf-mini-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.cs-wf-mini-box,
.cs-wf-mini-drop {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--background);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  padding: 0.5rem 0.7rem;
}

.cs-wf-mini-box-tall {
  min-height: 3.1rem;
}

.cs-wf-mini-drop {
  border-style: dashed;
  border-color: color-mix(in oklch, var(--border) 70%, var(--primary));
  background: color-mix(in oklch, var(--primary-soft) 35%, var(--background));
  color: color-mix(in oklch, var(--primary) 70%, var(--muted-foreground));
  text-align: center;
  font-weight: 600;
}

.cs-wf-plat-list {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

.cs-wf-plat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid color-mix(in oklch, var(--primary) 28%, var(--border));
  background: color-mix(in oklch, var(--primary-soft) 55%, white);
  border-radius: 0.75rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cs-wf-plat:hover {
  transform: translateX(2px);
  border-color: color-mix(in oklch, var(--primary) 50%, var(--border));
}

.cs-wf-check {
  display: flex;
  width: 1.15rem;
  height: 1.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  flex-shrink: 0;
}

.cs-wf-check svg {
  width: 0.7rem;
  height: 0.7rem;
}

.cs-wf-plat-icon {
  display: flex;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.cs-wf-plat-icon svg {
  width: 100%;
  height: 100%;
}

.cs-wf-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.cs-wf-btn-primary,
.cs-wf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.cs-wf-btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.cs-wf-btn-secondary {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.cs-wf-datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--background);
  padding: 0.6rem 0.65rem;
}

.cs-wf-dt-val {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-wf-connector {
  display: block;
  width: 1px;
  height: 1.1rem;
  margin-inline: auto;
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--primary) 45%, transparent),
    color-mix(in oklch, var(--primary) 15%, transparent)
  );
}

.cs-hub {
  margin-top: 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem 1.25rem 1.4rem;
  box-shadow: 0 20px 50px -32px oklch(0.3 0.05 20 / 0.3);
  text-align: center;
}

.cs-hub-card {
  max-width: 22rem;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background);
  padding: 0.95rem 1rem;
}

.cs-hub-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.cs-hub-title {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-hub-copy {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.cs-hub-flow {
  margin: 0.95rem 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cs-hub-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in oklch, var(--primary) 40%, var(--border)),
    transparent
  );
}

.cs-hub-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 75%, var(--muted-foreground));
}

.cs-hub-plats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.cs-hub-node {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 9999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cs-hub-node:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 40%, var(--border));
}

.cs-hub-icon {
  display: flex;
  width: 0.95rem;
  height: 0.95rem;
}

.cs-hub-icon svg {
  width: 100%;
  height: 100%;
}

.cs-hub-result {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (prefers-reduced-motion: reduce) {
  .cs-wf-card,
  .cs-wf-plat,
  .cs-hub-node {
    transition: none;
  }

  .cs-wf-card:hover,
  .cs-wf-plat:hover,
  .cs-hub-node:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .cs-workflow-title {
    font-size: 2.35rem;
  }
}

@media (min-width: 900px) {
  .cs-workflow-inner {
    padding-bottom: 6.5rem;
  }

  .cs-workflow-title {
    font-size: 2.75rem;
  }

  .cs-workflow-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.35rem;
  }

  .cs-wf-item {
    display: flex;
    min-width: 0;
  }

  .cs-wf-connector-item {
    padding-block: 0;
    padding-inline: 0.1rem;
  }

  .cs-wf-connector {
    width: 1.35rem;
    height: 1px;
    margin: 0;
    background: linear-gradient(
      90deg,
      color-mix(in oklch, var(--primary) 18%, transparent),
      color-mix(in oklch, var(--primary) 55%, transparent),
      color-mix(in oklch, var(--primary) 18%, transparent)
    );
  }
}

@media (max-width: 639px) {
  .cs-wf-action-row {
    grid-template-columns: 1fr;
  }
}

/* Composer demo section */
.cs-composer {
  position: relative;
  overflow: hidden;
}

.cs-composer-glow {
  pointer-events: none;
  position: absolute;
  inset: -6% 10% auto;
  height: 48%;
  background: radial-gradient(
    ellipse 55% 60% at 70% 10%,
    var(--glow),
    transparent 72%
  );
}

.cs-composer-inner {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 5.5rem;
}

.cs-composer-header {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.cs-composer-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.cs-composer-title {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.cs-composer-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.cs-composer-layout {
  margin-top: 2.75rem;
  display: grid;
  gap: 2rem;
  align-items: start;
}

.cs-composer-copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cs-comp-features {
  display: grid;
  gap: 1rem;
  list-style: none;
  flex: 1;
}

.cs-comp-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cs-comp-feature:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 35%, transparent);
  box-shadow: 0 12px 28px -16px oklch(0.3 0.05 20 / 0.22);
}

.cs-comp-feature-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.cs-comp-feature-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.cs-comp-feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.cs-comp-feature-text {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.cs-composer-visual {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.cs-comp-dash {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.25rem 1.15rem 1.2rem;
  box-shadow:
    0 24px 60px -28px oklch(0.3 0.05 20 / 0.3),
    0 1px 2px oklch(0.3 0.05 20 / 0.06);
  text-align: left;
}

.cs-comp-dash-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cs-comp-dash-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-comp-dash-title svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cs-comp-usage {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.cs-comp-usage-bar {
  height: 0.35rem;
  border-radius: 9999px;
  background: var(--muted);
  overflow: hidden;
}

.cs-comp-usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.cs-comp-flow {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 70%, transparent);
}

.cs-comp-flow-arrow {
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
}

.cs-comp-platforms {
  margin-top: 1rem;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.cs-comp-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-comp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cs-comp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.38rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.cs-comp-pill.is-selected {
  border-color: color-mix(in oklch, var(--primary) 42%, var(--border));
  background: color-mix(in oklch, var(--primary-soft) 70%, white);
}

.cs-comp-pill:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 50%, var(--border));
}

.cs-comp-pill-check {
  display: flex;
  width: 0.95rem;
  height: 0.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.cs-comp-pill-check svg {
  width: 0.6rem;
  height: 0.6rem;
}

.cs-comp-pill-icon {
  display: flex;
  width: 0.85rem;
  height: 0.85rem;
  color: var(--plat, var(--foreground));
}

.cs-comp-pill-icon svg {
  width: 100%;
  height: 100%;
}

.cs-comp-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.cs-comp-field {
  display: grid;
  gap: 0.4rem;
}

.cs-comp-input,
.cs-comp-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.7rem 0.85rem;
  resize: none;
  cursor: default;
}

.cs-comp-input:focus-visible,
.cs-comp-textarea:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-comp-dropzone {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 4.5rem;
  border: 1.5px dashed color-mix(in oklch, var(--border) 70%, var(--primary));
  border-radius: 0.85rem;
  background: color-mix(in oklch, var(--primary-soft) 35%, var(--background));
  color: var(--muted-foreground);
  text-align: center;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cs-comp-dropzone:hover {
  border-color: color-mix(in oklch, var(--primary) 55%, var(--border));
  background: color-mix(in oklch, var(--primary-soft) 55%, var(--background));
}

.cs-comp-dropzone svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary);
}

.cs-comp-dropzone p {
  font-size: 0.75rem;
  font-weight: 500;
}

.cs-comp-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.cs-comp-btn-primary,
.cs-comp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cs-comp-btn-primary {
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 22px -10px color-mix(in oklch, var(--primary) 45%, transparent);
}

.cs-comp-btn-secondary {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.cs-comp-btn-primary:hover,
.cs-comp-btn-secondary:hover {
  transform: translateY(-1px);
}

.cs-comp-btn-primary:focus-visible,
.cs-comp-btn-secondary:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-comp-schedule {
  margin-top: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--background);
  padding: 0.8rem 0.85rem;
}

.cs-comp-schedule-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.cs-comp-schedule-fields {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cs-comp-schedule-item {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--card);
  padding: 0.55rem 0.65rem;
}

.cs-comp-mini-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.cs-comp-mini-val {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-comp-status {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  background: var(--success-soft);
  color: var(--success);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.cs-comp-status-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--success);
}

.cs-comp-destinations {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.cs-comp-dest {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--background);
  padding: 0.55rem 0.7rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cs-comp-dest:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 35%, var(--border));
}

.cs-comp-dest-icon {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--card);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cs-comp-dest-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.cs-comp-dest-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-comp-dest-status {
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
}

@media (prefers-reduced-motion: reduce) {
  .cs-comp-feature,
  .cs-comp-pill,
  .cs-comp-dest,
  .cs-comp-btn-primary,
  .cs-comp-btn-secondary {
    transition: none;
  }

  .cs-comp-feature:hover,
  .cs-comp-pill:hover,
  .cs-comp-dest:hover,
  .cs-comp-btn-primary:hover,
  .cs-comp-btn-secondary:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .cs-composer-title {
    font-size: 2.35rem;
  }

  .cs-comp-dash-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .cs-comp-usage {
    min-width: 10.5rem;
    text-align: right;
  }

  .cs-comp-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cs-composer-inner {
    padding-bottom: 6.5rem;
  }

  .cs-composer-title {
    font-size: 2.75rem;
  }

  .cs-composer-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: stretch;
  }

  .cs-composer-copy {
    height: 100%;
  }

  .cs-comp-features {
    height: 100%;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .cs-comp-feature {
    height: 100%;
    align-items: center;
    padding: 1.45rem 1.35rem;
  }

  .cs-composer-visual {
    max-width: none;
    margin-inline: 0;
    height: 100%;
  }

  .cs-comp-dash {
    height: 100%;
  }

  .cs-comp-destinations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cs-comp-dest:nth-child(4),
  .cs-comp-dest:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 639px) {
  .cs-comp-actions {
    grid-template-columns: 1fr;
  }
}

/* Schedule Management */
.cs-schedule {
  position: relative;
  overflow: hidden;
}

.cs-schedule-glow {
  pointer-events: none;
  position: absolute;
  inset: -8% 20% auto;
  height: 42%;
  background: radial-gradient(
    ellipse 50% 55% at 30% 0%,
    var(--glow),
    transparent 72%
  );
}

.cs-schedule-inner {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 5.5rem;
}

.cs-schedule-layout {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.cs-schedule-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.cs-schedule-title {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.cs-schedule-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.cs-sched-features {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.cs-sched-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cs-sched-feature:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 35%, transparent);
  box-shadow: 0 12px 28px -16px oklch(0.3 0.05 20 / 0.22);
}

.cs-sched-feature-icon {
  display: flex;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.cs-sched-feature-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cs-sched-feature-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.cs-sched-feature-text {
  margin-top: 0.28rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.cs-schedule-visual {
  width: 100%;
  max-width: 38rem;
  margin-inline: auto;
}

.cs-sched-dash {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.2rem 1.1rem 1.15rem;
  box-shadow:
    0 24px 60px -28px oklch(0.3 0.05 20 / 0.3),
    0 1px 2px oklch(0.3 0.05 20 / 0.06);
}

.cs-sched-dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.cs-sched-dash-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-sched-dash-title svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--primary);
}

.cs-sched-dash-note {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.cs-sched-today {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 9999px;
  padding: 0.4rem 0.8rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: default;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cs-sched-today:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 40%, var(--border));
}

.cs-sched-today:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-cal-nav {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cs-cal-nav-btn {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--background);
  color: var(--foreground);
  cursor: default;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cs-cal-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

.cs-cal-nav-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 40%, var(--border));
}

.cs-cal-nav-btn:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.cs-cal-month {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-cal-weekdays {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.cs-cal-weekday {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding-block: 0.2rem;
}

.cs-cal-grid {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.cs-cal-day {
  min-height: 2.65rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--background);
  padding: 0.3rem 0.35rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cs-cal-day.is-empty {
  background: transparent;
  border-color: transparent;
}

.cs-cal-day:not(.is-empty):hover {
  border-color: color-mix(in oklch, var(--primary) 40%, var(--border));
  background: color-mix(in oklch, var(--primary-soft) 40%, white);
}

.cs-cal-day.is-today {
  border-color: color-mix(in oklch, var(--primary) 50%, var(--border));
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 20%, transparent);
}

.cs-cal-day.has-posts {
  background: color-mix(in oklch, var(--primary-soft) 45%, white);
}

.cs-cal-day-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-cal-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.cs-cal-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
}

.cs-sched-flow {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--primary) 70%, transparent);
}

.cs-sched-flow-arrow {
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
}

.cs-sched-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
  list-style: none;
  max-height: 14.5rem;
  overflow: auto;
}

.cs-sched-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--background);
  padding: 0.65rem 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cs-sched-item:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--primary) 35%, var(--border));
}

.cs-sched-item-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.cs-sched-item-icon {
  display: flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--card);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cs-sched-item-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.cs-sched-item-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

.cs-sched-item-meta {
  margin-top: 0.12rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.cs-sched-item-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.cs-sched-badge {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--info-soft);
  color: var(--info);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
}

.cs-sched-view {
  border: none;
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: default;
  padding: 0.1rem 0.15rem;
  transition: opacity 0.15s ease;
}

.cs-sched-view:hover {
  opacity: 0.8;
}

.cs-sched-view:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .cs-sched-feature,
  .cs-sched-item,
  .cs-sched-today,
  .cs-cal-nav-btn {
    transition: none;
  }

  .cs-sched-feature:hover,
  .cs-sched-item:hover,
  .cs-sched-today:hover,
  .cs-cal-nav-btn:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .cs-schedule-title {
    font-size: 2.35rem;
  }

  .cs-cal-day {
    min-height: 3rem;
  }
}

@media (min-width: 1024px) {
  .cs-schedule-inner {
    padding-bottom: 6.5rem;
  }

  .cs-schedule-title {
    font-size: 2.75rem;
  }

  .cs-schedule-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: stretch;
  }

  .cs-schedule-visual {
    max-width: none;
    margin-inline: 0;
    order: 0;
  }

  .cs-schedule-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cs-sched-features {
    flex: 1;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .cs-sched-feature {
    height: 100%;
    align-items: center;
  }
}

@media (max-width: 1023px) {
  .cs-schedule-copy {
    order: -1;
  }
}

@media (max-width: 639px) {
  .cs-sched-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-sched-item-aside {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
}

/* Final CTA */
.cs-final {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.cs-final-inner {
  position: relative;
}

.cs-final-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.85rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  padding: 3rem 1.5rem 2.75rem;
  text-align: center;
  box-shadow: 0 30px 80px -28px oklch(0.3 0.05 20 / 0.28);
  animation: schedule-fade-up 0.7s ease both;
}

.cs-final-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(
    ellipse 60% 70% at 50% 0%,
    var(--glow),
    transparent 72%
  );
}

.cs-final-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(to right, color-mix(in oklch, var(--border) 80%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklch, var(--border) 80%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent 85%);
}

.cs-final-shapes {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.cs-final-shape {
  position: absolute;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--primary-soft) 55%, white);
}

.cs-final-shape-1 {
  width: 4.5rem;
  height: 4.5rem;
  top: 14%;
  left: 6%;
  transform: rotate(12deg);
}

.cs-final-shape-2 {
  width: 3.25rem;
  height: 3.25rem;
  bottom: 18%;
  right: 8%;
  border-radius: 9999px;
}

.cs-final-shape-3 {
  width: 2.5rem;
  height: 2.5rem;
  top: 22%;
  right: 14%;
  transform: rotate(-18deg);
  opacity: 0.7;
}

.cs-final-float {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: none;
}

.cs-final-icon {
  position: absolute;
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
    justify-content: center;
  border-radius: 0.7rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px -12px oklch(0.3 0.05 20 / 0.35);
  opacity: 0.8;
}

.cs-final-icon svg {
  width: 1rem;
  height: 1rem;
}

.cs-final-icon { top: 16%; left: 10%; }
.cs-final-icon-2 { top: 18%; right: 11%; }
.cs-final-icon-3 { bottom: 22%; left: 8%; }
.cs-final-icon-4 { bottom: 18%; right: 9%; }
.cs-final-icon-5 { top: 42%; right: 5%; }

.cs-final-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
}

.cs-final-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.cs-final-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.cs-final-actions {
  margin-top: 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cs-final-platforms {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

@media (prefers-reduced-motion: reduce) {
  .cs-final-card {
    animation: none;
  }
}

@media (min-width: 640px) {
  .cs-final-card {
    border-radius: 2rem;
    padding: 3.5rem 2.5rem 3rem;
  }

  .cs-final-title {
    font-size: 2.4rem;
  }

  .cs-final-actions {
    flex-direction: row;
  }

  .cs-final-float {
    display: block;
  }
}

@media (min-width: 1024px) {
  .cs-final {
    padding-top: 1.5rem;
    padding-bottom: 6rem;
  }

  .cs-final-card {
    border-radius: 2rem;
    padding: 4.25rem 4rem 3.5rem;
  }

  .cs-final-title {
    font-size: 3rem;
  }

  .cs-final-content {
    max-width: 48rem;
  }
}

@media (max-width: 639px) {
  .cs-final-shape-1,
  .cs-final-shape-2,
  .cs-final-shape-3 {
    opacity: 0.35;
  }

  .cs-final-actions .btn-primary,
  .cs-final-actions .btn-secondary {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}
